<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Dear Matt/itk users,</div><div>Now I'm able to pick world coordinates using vtk point picker widget. </div><div>But for seed input to itk, we need index. I'm really struck. can you pls help me how to move further? using itk-vtk interaction for seed selection?</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;">Also, to call vtk window for point selection which command should i use? (is it call-back function in vtk? But from itk how to call ?)</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new
roman', 'new york', times, serif; font-style: normal; background-color: transparent;">thank you</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Friday, 6 June 2014 6:04 PM, Matt McCormick <matt.mccormick@kitware.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container">Hi Sindhoor,<br clear="none"><br clear="none">In your previous mail, you described taking sub-regions, which changes<br clear="none">index positions. To sample a value from a physical position, use an<br clear="none">itk::InterpolateImageFunction.<br clear="none"><br clear="none">The apparent flip may be due to a difference in the direction and<br clear="none">location of the Y-axis in your
visualization programs.<br clear="none"><br clear="none">Hope this helps,<br clear="none">Matt<br clear="none"><div class="yqt0648836128" id="yqtfd31807"><br clear="none">On Fri, Jun 6, 2014 at 1:03 AM, Sindhoor Bhat <<a shape="rect" ymailto="mailto:bhatsindhoor@ymail.com" href="mailto:bhatsindhoor@ymail.com">bhatsindhoor@ymail.com</a>> wrote:<br clear="none">> Thanks Matt for your suggestion.<br clear="none">> *But I've tried with that too. It is not considering the index/seed position<br clear="none">> that I write in program.<br clear="none">> When I added below code to get selected seed position, it shows<br clear="none">> completely different point than what I had written(using image J ---><br clear="none">> physical coordinates )<br clear="none">> std::cout << filter->GetOutput()->GetPixel( Position1 ) <<<br clear="none">>
std::endl;<br clear="none">> *seed point doesn't appear between selected thresholds ( say: (85,300) &<br clear="none">> seep position will be like 45 etc)<br clear="none">><br clear="none">> *Also, I should mention that my dicom images appear in reverse order(<br clear="none">> flipped). Is this affecting my seed selection?<br clear="none">> (I tried subtracting Y coordinate from maxY etc.)<br clear="none">><br clear="none">> Can you pls tell what is wrong? thank you.<br clear="none">><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>