18 #ifndef sitkImageFilter_h
19 #define sitkImageFilter_h
36 template <
unsigned int N>
65 template<
class TImageType>
68 assert( img != NULL );
70 typename TImageType::RegionType r = img->GetLargestPossibleRegion();
71 typename TImageType::IndexType idx = r.GetIndex();
73 for(
unsigned int i = 0; i < TImageType::ImageDimension; ++i )
79 typename TImageType::PointType o;
80 img->TransformIndexToPhysicalPoint( idx, o );
static void FixNonZeroIndex(TImageType *img)
#define SITKBasicFilters0_EXPORT
Base class for SimpleITK classes based on ProcessObject.
The base interface for SimpleITK filters that take one input image.