28 #ifndef itkExtractImageFilterRegionCopier_h
29 #define itkExtractImageFilterRegionCopier_h
35 namespace ImageToImageFilterDetail
40 template <
unsigned int T1,
unsigned int T2>
48 ImageToImageFilterDefaultCopyRegion<T1, T2>(firstEqualsSecond, destRegion, srcRegion);
54 template <
unsigned int T1,
unsigned int T2>
62 (void)totalInputExtractionRegion;
63 ImageToImageFilterDefaultCopyRegion<T1, T2>(firstLessThanSecond, destRegion, srcRegion);
83 template <
unsigned int T1,
unsigned int T2>
100 for (dim = 0; dim < T1; ++dim)
103 if (!totalInputExtractionRegion.
GetSize()[dim])
105 destIndex[dim] = totalInputExtractionRegion.
GetIndex()[dim];
111 destIndex[dim] = srcIndex[count];
112 destSize[dim] = srcSize[count];
141 template <
unsigned int T1,
unsigned int T2>
151 ExtractImageFilterCopyRegion<T1, T2>(ComparisonType(), destRegion, srcRegion, totalInputExtractionRegion);