[Insight-users] Image reformat filter?

Li, George (NIH/NCI) ligeorge at mail.nih.gov
Thu Jun 30 16:41:33 EDT 2005


Hi, Zach,

Thanks for the tips. The name of these classes make a lot senses
in terms of what they are for. My ITK use has been on and off and 
on, focusing one thing at a time with my work flow.

Thanks again.

George


-----Original Message-----
From: Zachary Pincus [mailto:zpincus at stanford.edu] 
Sent: Thursday, June 30, 2005 4:28 PM
To: Li, George (NIH/NCI)
Cc: Insight-users at itk.org
Subject: Re: [Insight-users] Image reformat filter?


Hi George,

itk::ResampleImageFilter can be used to resample images to different 
resolutions, pixel spacings, origins and so forth, with arbitrary 
transforms and interpolation schemes.

itk::ChangeInformationImageFilter can be used to change image metadata 
without resampling.

itk::PadImageFilter (and MirrorPadImageFilter, etc) pad images, while 
itk::CropImageFilter crops.

You can see the class list for ITK classes here: 
http://www.itk.org/Doxygen/html/classes.html -- I find that just 
perusing the class list can be very helpful sometimes. Also, the ITK 
software guide has a good chapter of image metadata (like origin and 
spacing) and resampling/transforming images.

Finally, note that, as far as I can tell, ITK doesn't have great 
facilities for image decimation -- that is, shrinking images -- because 
the resampling framework is set up around interpolating the value at an 
exact point, not integrating the value over an image region. The image 
pyramid methods, however, can be used to do power-of-two decimation.

Zach Pincus

Department of Biochemistry and Program in Biomedical Informatics Stanford
University School of Medicine


On Jun 30, 2005, at 1:03 PM, Li, George (NIH/NCI) wrote:

> Dear all ITK users:
>
> Could anyone tell me which filter does the image reformatting, 
> including the change of image size and voxel size? Also, any filter 
> does gray level optimization for the best visual effect (with optimal 
> window/level setting for viewing)?
>
> Thanks,
>
> George
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org 
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list