Hi Frank,<br><br>What viewer do you use? or recommend?<br><br>Thank you,<br><br><div class="gmail_quote">On Jan 24, 2008 11:32 AM, <<a href="mailto:frankmiller@jhmi.edu">frankmiller@jhmi.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ying,<br><br>The "windows picture and fax viewer" is only displaying the pixel array.<br>It does not take into consideration the origin, spacing, or direction.<br><br>The geometry of the itk::Image class can be confusing at first. Keep
<br>reading the user guide and playing with the examples. In particular, see<br>figure 4.1 on page 40.<br><br>Good luck,<br><br>Frank<br><div><div></div><div class="Wj3C7c"><br>On Wed, Jan 23, 2008 at 07:04:14PM -0500, Yingli Lu wrote:
<br>> Hi Frank,<br>><br>> I used "windows picture and fax viewer" to open it.<br>> It seems that there should be a transformation that transform from image<br>> coordinate( origin at the upper left corner, x increasing to the right, y
<br>> increasing to the bottom) to physical coordiante. Tthen, the<br>> ResampleImageFilter can use. Am I right?<br>><br>> Thank you,<br>><br>><br>> On Jan 23, 2008 4:42 PM, <<a href="mailto:frankmiller@jhmi.edu">
frankmiller@jhmi.edu</a>> wrote:<br>><br>> > Ying,<br>> ><br>> > What program are you using to view the image? Many image viewing<br>> > programs have the convention of placing the origin at the upper left
<br>> > corner, x increasing to the right, y increasing to the bottom.<br>> ><br>> > Frank<br>> ><br>> > On Wed, Jan 23, 2008 at 04:28:23PM -0500, Yingli Lu wrote:<br>> > > Can anybody help me with this problem:
<br>> > ><br>> > > I just ran the example of "Examples/Filtering/ResampleImageFilter.cxx"<br>> > at<br>> > > section 6.9.4 in the Userguide<br>> > ><br>> > > But I can't get the same result of Figure
6.40 in the Userguide (where,<br>> > the<br>> > > origin is at the lower left corner of the input image, and X coordinate<br>> > is<br>> > > horizontal to the right, Y coordinate is vertical to the up direction).
<br>> > ><br>> > > My result seems to be based on a different coordinate: the origin is at<br>> > the<br>> > > upper left corner, and X coordinate is horizontal to the right, Y<br>> > coordinate
<br>> > > is vertical to the down direction).<br>> > ><br>> > > Example code is wrong or Userguide is wrong?<br>> > ><br>> > > Thank you,<br>> > ><br>> > > Ying
<br>> ><br>> > > _______________________________________________<br>> > > Insight-users mailing list<br>> > > <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>> > >
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>> ><br>> ><br>><br>><br>> --<br>> Yingli Lu<br>> GE Canada<br>
> 268 Grosvenor, E5-137<br>> London, ON, N6A 4V2 Canada<br>> Phone:(519) 646-6000 ext.64626<br>> <a href="mailto:Email:yinglilu@gmail.com">Email:yinglilu@gmail.com</a><br>> <a href="mailto:yingli.lu@ge.com">
yingli.lu@ge.com</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Yingli Lu<br>GE Canada<br>268 Grosvenor, E5-137<br>London, ON, N6A 4V2 Canada<br>Phone:(519) 646-6000 ext.64626<br><a href="mailto:Email:yinglilu@gmail.com">
Email:yinglilu@gmail.com</a><br> <a href="mailto:yingli.lu@ge.com">yingli.lu@ge.com</a>