[Insight-users] Upsamplig
Serena Fabbri
fabbri at u.washington.edu
Mon Feb 2 19:41:58 EST 2009
Hi All,
I have a problem with ResampleImageFilter.
I want up-sampling a 2D MR DICOM image.
My image is 176x256 spacing=(1;1) origin=(1;0) and i want to obtain 392x512 DICOM image.
I am setting spacing=(1*176/392; 1*256/512) and same origin=(1;0).
I utilize IdentityTransform with SetIdentity( ) and LinearInterpolateImageFunction.
The problem is that output image looks enlarged than the original one.
Where do i made a mistake?
Thanks a lot.
Serena
More information about the Insight-users
mailing list