ITK Pre-Processing Algorithm Wrappers in Python/ResampleFilter

From FarsightWiki
Jump to: navigation, search

Resample filter

This filter is implemented using the itkResampleImageFilter class in ITK. Even though, there are multiple uses for the resampling an image, we will restrict our attention to resampling of images in order to make them isotropic. This filter implements the example produced in ResampleVolumesToBeIsotropic.cxx, available in ITK Examples. 3-D biological images are anisotropic in their sampling; in other words, the sampling (spatial) frequency along the 3 dimensions are not the same. Often, the axial resolution is worse than the in-plane resolution. Directly applying the various segmentation algorithms on such images can lead to unsatisfactory output. In such cases, the images are first resampled to make them isotropic. We use Gaussian filters and linear interpolators to obtain the intensities at the non-grid locations. It is assumed that the spacing information of the pixels in the 3 axis is given as part of the image (eg. as metadata).

Parameters: None

This filter works on 3D images, and it is difficult to reproduce such images here.

Back to main page.

Personal tools