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 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, <<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>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>> Can anybody help me with this problem:<br>><br>> I just ran the example of "Examples/Filtering/ResampleImageFilter.cxx" 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, the<br>> origin is at the lower left corner of the input image, and X coordinate 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 the<br>> upper left corner, and X coordinate is horizontal to the right, Y 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></div></div>> _______________________________________________
<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></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>