18 #ifndef sitkImageFilter_h
19 #define sitkImageFilter_h
61 template <
class TImageType>
67 typename TImageType::RegionType r = img->GetLargestPossibleRegion();
68 typename TImageType::IndexType idx = r.GetIndex();
70 for (
unsigned int i = 0; i < TImageType::ImageDimension; ++i)
76 typename TImageType::PointType o;
77 img->TransformIndexToPhysicalPoint(idx, o);
95 CheckImageMatchingDimension(
const Image & image1,
const Image & image2,
const std::string & image2Name);
101 CheckImageMatchingPixelType(
const Image & image1,
const Image & image2,
const std::string & image2Name);
107 CheckImageMatchingSize(
const Image & image1,
const Image & image2,
const std::string & image2Name);