18 #ifndef sitkImageFilter_h
19 #define sitkImageFilter_h
64 template<
class TImageType>
69 typename TImageType::RegionType r = img->GetLargestPossibleRegion();
70 typename TImageType::IndexType idx = r.GetIndex();
72 for(
unsigned int i = 0; i < TImageType::ImageDimension; ++i )
78 typename TImageType::PointType o;
79 img->TransformIndexToPhysicalPoint( idx, o );
97 void CheckImageMatchingDimension(
const Image &image1,
const Image& image2,
const std::string &image2Name );
102 void CheckImageMatchingPixelType(
const Image &image1,
const Image& image2,
const std::string &image2Name );
107 void CheckImageMatchingSize(
const Image &image1,
const Image& image2,
const std::string &image2Name );