No subject


Tue Apr 8 17:34:44 EDT 2008


gt; index location than the actual pixel value. In that case, you<br>&gt; &=
gt; &gt; probably only need the first half of option (A).<br>&gt; &gt; &gt;=
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Regards,<br>&gt; &gt; &gt;<br>&gt; &gt=
; &gt;<br>&gt; &gt; &gt; Luis<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &=
gt; &gt; ------------------------<br>&gt; &gt; &gt; Cameron Burnett wrote:<=
br>&gt; &gt; &gt; &gt; Oh ok. So there is no way to perhaps extract a pixel=
 at a certain<br>&gt; &gt; &gt; &gt; physical coordinate, from the ImageSer=
iesReader object ?? I had a look<br>&gt; &gt; &gt; &gt; at the doxygen docu=
mentation for itk::ImageSeriesReader but there wasn't<br>&gt; &gt; &gt; &gt=
; any method like that.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; The p=
roblem is that I'm doing this with 3D interaction. At the moment I<br>&gt; =
&gt; &gt; &gt; don't have any 2D viewports at all. In order to find a seed =
point, the<br>&gt; &gt; &gt; &gt; only logical thing I could think of was a=
 vtkPointWidget. If that<br>&gt; &gt; &gt; &gt; doesn't end up working then=
 I'm not sure if it would be possible to do<br>&gt; &gt; &gt; &gt; 3D regio=
n growing at all. Unless I can guess the seed point.<br>&gt; &gt; &gt; &gt;=
<br>&gt; &gt; &gt; &gt; Any ideas??<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt=
; &gt; Thanks.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &=
gt; &gt;<br>&gt; &gt; &gt; &gt; -------------------------------------------=
-----------------------------<br>&gt; &gt; &gt; &gt; &gt; Date: Mon, 14 Apr=
 2008 10:16:44 -0400<br>&gt; &gt; &gt; &gt; &gt; From: bill.lorensen at gmail.=
com<br>&gt; &gt; &gt; &gt; &gt; To: w_e_b_m_a_s_t_e_r_6_9 at hotmail.com<br>&g=
t; &gt; &gt; &gt; &gt; Subject: Re: [Insight-users] Confidence Connected Se=
ed Coordinates<br>&gt; &gt; &gt; &gt; &gt; CC: insight-users at itk.org<br>&gt=
; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Cameron,<br>&gt; &gt; &gt=
; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; The Seed coordinates are in pixels,=
 not physical coordinates. IN<br>&gt; &gt; &gt; &gt; &gt; addition, VTK fli=
ps the image, so you will need to flip your Y pixel<br>&gt; &gt; &gt; &gt; =
&gt; coordinate.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; We=
 should probably add a method to the filters with Seeds to accept<br>&gt; &=
gt; &gt; &gt; &gt; physical coordinates. Please add a feature request in th=
e ITK bug<br>&gt; &gt; &gt; &gt; &gt; tracker.<br>&gt; &gt; &gt; &gt; &gt;<=
br>&gt; &gt; &gt; &gt; &gt; This page explains how to submit a bug:<br>&gt;=
 &gt; &gt; &gt; &gt; http://www.itk.org/Wiki/ITK_Procedure_for_Contributing=
_Bug_Fixes<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Thanks,<=
br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Bill<br>&gt; &gt; &=
gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; On Mo=
n, Apr 14, 2008 at 9:56 AM, Cameron Burnett<br>&gt; &gt; &gt; &gt; &gt; &lt=
;w_e_b_m_a_s_t_e_r_6_9 at hotmail.com&gt; wrote:<br>&gt; &gt; &gt; &gt; &gt; &=
gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Hi,<br>&gt; &gt; &gt; &gt; &gt; &gt;<b=
r>&gt; &gt; &gt; &gt; &gt; &gt; I'm just wondering about the coordinate sys=
tem of the confidence<br>&gt; &gt; &gt; &gt; connected<br>&gt; &gt; &gt; &g=
t; &gt; &gt; algorithm. I'm using a vtkPointWidget to select a seed point, =
and<br>&gt; &gt; &gt; &gt; according<br>&gt; &gt; &gt; &gt; &gt; &gt; to th=
e point widget, my XY coordinates range from about -45,413<br>&gt; &gt; &gt=
; &gt; (top-left)<br>&gt; &gt; &gt; &gt; &gt; &gt; to 413,-45 (bottom-right=
).... and also a z coordinate which I've<br>&gt; &gt; &gt; &gt; got as 7.5<=
br>&gt; &gt; &gt; &gt; &gt; &gt; (middle slice).<br>&gt; &gt; &gt; &gt; &gt=
; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Now, when I plug that into the conf=
idence connected SetSeed()<br>&gt; &gt; method, I<br>&gt; &gt; &gt; &gt; &g=
t; &gt; don't think the two coordinate systems are matching up because my<b=
r>&gt; &gt; &gt; &gt; results<br>&gt; &gt; &gt; &gt; &gt; &gt; are a bit st=
range.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br=
>&gt; &gt; &gt; &gt; &gt; &gt; The following picture is an image of two leg=
s, and you can see the<br>&gt; &gt; &gt; &gt; &gt; &gt; vtkPointWidget bein=
g positioned in the center of the femur.<br>&gt; &gt; &gt; &gt; &gt; &gt;<b=
r>&gt; &gt; &gt; &gt; &gt; &gt; http://img382.imageshack.us/img382/2118/dic=
omimgaw7.jpg<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &=
gt; This is the result of a multiplier of 0.1, followed by a multiplier<br>=
&gt; &gt; &gt; &gt; of 2.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt=
; &gt; &gt; &gt; http://img397.imageshack.us/img397/9743/outputvtk01multipl=
ierwd7.jpg<br>&gt; &gt; &gt; &gt; &gt; &gt; http://img383.imageshack.us/img=
383/6727/outputvtk2multiplierfs6.jpg<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&g=
t; &gt; &gt; &gt; &gt; &gt; (Note: I think these may be a bit pixely due to=
 the compression on<br>&gt; &gt; &gt; &gt; &gt; &gt; imageshack, but the ac=
tual ones are just 2 solid colours)<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt=
; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; What I conclude=
 from that is that the blue area is in fact the area<br>&gt; &gt; &gt; &gt;=
 that has<br>&gt; &gt; &gt; &gt; &gt; &gt; been seeded, not the red area. T=
herefore that is why I believe that<br>&gt; &gt; &gt; &gt; I have<br>&gt; &=
gt; &gt; &gt; &gt; &gt; some sort of problem with the coordinates not match=
ing. What do I<br>&gt; &gt; &gt; &gt; have to do<br>&gt; &gt; &gt; &gt; &gt=
; &gt; to make sure the point widget and the SetSeed() method both match<br=
>&gt; &gt; up??<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt=
; &gt; And I also don't know why there are 2 colours in the vtk file, when<=
br>&gt; &gt; one<br>&gt; &gt; &gt; &gt; &gt; &gt; should obviously be trans=
parent. Is that one easy to answer?<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt=
; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Thanks for any =
help,<br>&gt; &gt; &gt; &gt; &gt; &gt; Cameron.<br>&gt; &gt; &gt; &gt; &gt;=
 &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>=
&gt; &gt; &gt; &gt; &gt; &gt; ________________________________<br>&gt; &gt;=
 &gt; &gt; &gt; &gt; Grab it. You dream job is up for grabs.<br>&gt; &gt; &=
gt; &gt; &gt; &gt; _______________________________________________<br>&gt; =
&gt; &gt; &gt; &gt; &gt; Insight-users mailing list<br>&gt; &gt; &gt; &gt; =
&gt; &gt; Insight-users at itk.org<br>&gt; &gt; &gt; &gt; &gt; &gt; http://www=
.itk.org/mailman/listinfo/insight-users<br>&gt; &gt; &gt; &gt; &gt; &gt;<br=
>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt=
; ------------------------------------------------------------------------<=
br>&gt; &gt; &gt; &gt; at CarPoint.com.au It's simple! Sell your car for ju=
st $30<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &lt;http://a.ninemsn.com.au/b.as=
px?URL=3Dhttp%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci=
%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&amp;_t=3D7629=
55845&amp;_r=3Dtig_OCT07&amp;_m=3DEXT&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &g=
t; &gt; &gt;<br>&gt; &gt; &gt; &gt; ---------------------------------------=
---------------------------------<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; =
&gt; _______________________________________________<br>&gt; &gt; &gt; &gt;=
 Insight-users mailing list<br>&gt; &gt; &gt; &gt; Insight-users at itk.org<br=
>&gt; &gt; &gt; &gt; http://www.itk.org/mailman/listinfo/insight-users<br>&=
gt; &gt;<br>&gt; &gt; ________________________________<br>&gt; &gt; Grab it=
. You dream job is up for grabs.<br>&gt; &gt; _____________________________=
__________________<br>&gt; &gt;  Insight-users mailing list<br>&gt; &gt;  I=
nsight-users at itk.org<br>&gt; &gt;  http://www.itk.org/mailman/listinfo/insi=
ght-users<br>&gt; &gt;<br>&gt; &gt;<br><br><hr>Find out: SEEK Salary Centre=
 <a href=3D"http://a.ninemsn.com.au/b.aspx?URL=3Dhttp://ninemsn.seek.com.au=
/career-resources/salary-centre/?tracking%3Dsk:het:sc:nine:0:hot:text&amp;_=
t=3D764565661&amp;_r=3DOCT07_endtext_salary&amp;_m=3DEXT" target=3D"_blank"=
>Are you paid what you're worth?</a>=0A=
</blockquote><br /><hr />Find out: SEEK Salary Centre <a href=3D'http://a.n=
inemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%=
2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anine%3A0%3Aho=
t%3Atext&_t=3D764565661&_r=3DOCT07_endtext_salary&_m=3DEXT' target=3D'_new'=
>Are you paid what you're worth?</a></body>
</html>=

--_3e2db8f9-45de-46e8-9808-35d66aa45e12_--


More information about the Insight-users mailing list