[Insight-users] ResampleImageFilter flips origin
Ted Broom
tedbroom123 at gmail.com
Fri Dec 7 11:54:44 EST 2012
Hi everyone;
I'm experimenting with the re sample image filter and feeding in an input
image. The origin; spacing of the output image is the same as the input
image and no transformations are applied to the image. To view the image
however I must select the out origin to be flipped in the x and z plane in
comparison to the input origin:
Out_origin[0]= - In_origin[0];
Out_origin[1]= In_origin[1];
Out_origin[2]= - In_origin[2];
When performed in the manner below; the image is blank when viewed in
ITK_snap:?
Out_origin[0]= In_origin[0];
Out_origin[1]= In_origin[1];
Out_origin[2]= In_origin[2];
Any suggestions??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121207/376343dd/attachment.htm>
More information about the Insight-users
mailing list