[Insight-users] Resampling without Interpolation

Himanshu Neema usc.himanshu at gmail.com
Sun Apr 4 14:40:27 EDT 2010


Hi,

I want to resample (upsize) an image without interpolator inserting
interpolated values. For example :

image = 1 2 3
             4 5 6
             7 8 9

I want resampled image to be : ( upsize by 2)

interpolatedImage = 1 0 2 0 3 0
                              0 0 0 0 0 0
                              4 0 5 0 6 0
                              0 0 0 0 0 0
                              7 0 8 0 9 0
                              0 0 0 0 0 0

Basically I dont want resampler to use any interpolator , I just want zero
padding in case of upsampling.

Thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100404/eb298918/attachment.htm>


More information about the Insight-users mailing list