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,  &lt;<a href="mailto:frankmiller@jhmi.edu">frankmiller@jhmi.edu</a>&gt; 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 &quot;windows picture and fax viewer&quot; 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. &nbsp;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>&gt; Hi Frank,<br>&gt;<br>&gt; I used &quot;windows picture and fax viewer&quot; &nbsp;to open it.<br>&gt; It seems that there should be a transformation that transform from image<br>&gt; coordinate( origin at the upper left corner, x increasing to the right, y
<br>&gt; increasing to the bottom) to physical coordiante. Tthen, the<br>&gt; ResampleImageFilter can use. Am I right?<br>&gt;<br>&gt; Thank you,<br>&gt;<br>&gt;<br>&gt; On Jan 23, 2008 4:42 PM, &lt;<a href="mailto:frankmiller@jhmi.edu">
frankmiller@jhmi.edu</a>&gt; wrote:<br>&gt;<br>&gt; &gt; Ying,<br>&gt; &gt;<br>&gt; &gt; What program are you using to view the image? Many image viewing<br>&gt; &gt; programs have the convention of placing the origin at the upper left
<br>&gt; &gt; corner, x increasing to the right, y increasing to the bottom.<br>&gt; &gt;<br>&gt; &gt; Frank<br>&gt; &gt;<br>&gt; &gt; On Wed, Jan 23, 2008 at 04:28:23PM -0500, Yingli Lu wrote:<br>&gt; &gt; &gt; Can anybody help me with this problem:
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I just ran the example of &quot;Examples/Filtering/ResampleImageFilter.cxx&quot;<br>&gt; &gt; at<br>&gt; &gt; &gt; section 6.9.4 in the Userguide<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; But I can&#39;t get the same result of Figure 
6.40 &nbsp;in the Userguide (where,<br>&gt; &gt; the<br>&gt; &gt; &gt; origin is at the lower left corner of the input image, and X coordinate<br>&gt; &gt; is<br>&gt; &gt; &gt; horizontal to the right, Y coordinate is vertical to the up direction).
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; My result seems to be based on a different coordinate: the origin is at<br>&gt; &gt; the<br>&gt; &gt; &gt; upper left corner, and X coordinate is horizontal to the right, Y<br>&gt; &gt; coordinate
<br>&gt; &gt; &gt; is vertical to the down direction).<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Example code is wrong or Userguide is wrong?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thank you,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Ying
<br>&gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; Insight-users mailing list<br>&gt; &gt; &gt; <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>&gt; &gt; &gt; 
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Yingli Lu<br>&gt; GE Canada<br>
&gt; 268 Grosvenor, E5-137<br>&gt; London, ON, N6A 4V2 Canada<br>&gt; Phone:(519) 646-6000 ext.64626<br>&gt; <a href="mailto:Email:yinglilu@gmail.com">Email:yinglilu@gmail.com</a><br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; <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> &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:yingli.lu@ge.com">yingli.lu@ge.com</a>