[Insight-users] ITK image resizing

David Doria daviddoria at gmail.com
Thu Jan 12 17:22:16 EST 2012


On Thu, Jan 12, 2012 at 3:38 PM, Soumya82
<soumyabrata.dey at knights.ucf.edu> wrote:
>
> Hi,
>
> I am new to this field.  I want to resize an ITK image to fit to a window.
> Can anybody tell me how to do this. Do I need to use any filter?
>
> Normally if I have all the pixel information I can do an interpolation to
> fit the window size but I am reading the image from the disk as an itk image
> which is encapsulated in a class. So how to get all the pixel values and how
> to update the itk image after resizing?

I think you might be looking for this filter:

http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/ResampleImageFilter

David


More information about the Insight-users mailing list