Hi Frank,<br><br>I used &quot;windows picture and fax viewer&quot;&nbsp; to open it.<br>It seems that there should be a transformation that transform from image coordinate( origin at the upper left corner, x increasing to the right, y increasing to the bottom) to physical coordiante. Tthen, the ResampleImageFilter can use. Am I right?
<br><br>Thank you, <br><br><br><div class="gmail_quote">On Jan 23, 2008 4:42 PM,  &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>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><div><div></div><div class="Wj3C7c"><br>On Wed, Jan 23, 2008 at 04:28:23PM -0500, Yingli Lu wrote:<br>&gt; Can anybody help me with this problem:<br>&gt;<br>&gt; I just ran the example of &quot;Examples/Filtering/ResampleImageFilter.cxx&quot; at
<br>&gt; section 6.9.4 in the Userguide<br>&gt;<br>&gt; But I can&#39;t get the same result of Figure 6.40 &nbsp;in the Userguide (where, the<br>&gt; origin is at the lower left corner of the input image, and X coordinate is<br>
&gt; horizontal to the right, Y coordinate is vertical to the up direction).<br>&gt;<br>&gt; My result seems to be based on a different coordinate: the origin is at the<br>&gt; upper left corner, and X coordinate is horizontal to the right, Y coordinate
<br>&gt; is vertical to the down direction).<br>&gt;<br>&gt; Example code is wrong or Userguide is wrong?<br>&gt;<br>&gt; Thank you,<br>&gt;<br>&gt; Ying<br><br></div></div>&gt; _______________________________________________
<br>&gt; Insight-users mailing list<br>&gt; <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users
</a><br><br></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>