ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Member Functions | List of all members
itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< T1, T2 > Class Template Reference

#include <itkExtractImageFilterRegionCopier.h>

+ Inheritance diagram for itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< T1, T2 >:
+ Collaboration diagram for itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< T1, T2 >:

Detailed Description

template<unsigned int T1, unsigned int T2>
class itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< T1, T2 >

A special variation of ImageRegionCopier for when the output image has fewer dimensions than the input image.

ExtractImageFilterRegionCopier is a special variation on ImageRegionCopier. The difference in this version is when the T1 > T2. In this case, the output image has fewer dimension than the input image. This only works correctly when totalInputExtractionRegion has been set. totalInputExtractionRegion is essentially the mapping from the srcRegion space to the DestRegionSpace. The important values in totalInputExtractionRegion are when totalInputExtractionRegion.Size is = 0 for one or more of the dimensions. These values correspond to the dimensions to collapse. When totalInputExtractionRegion.Size[dim] = 0, then the index that we have to lock destRegion.Index[dim] = totalInputExtractionRegion.Index[dim].

The other two cases (T1 = T2, and T1 < T2) are identical to the implementation in ImageToImageFilterDetail.

Definition at line 140 of file itkExtractImageFilterRegionCopier.h.

Public Member Functions

virtual void operator() (ImageRegion< T1 > &destRegion, const ImageRegion< T2 > &srcRegion, const ImageRegion< T1 > &totalInputExtractionRegion) const
 
void operator() (ImageRegion< T1 > &destRegion, const ImageRegion< T2 > &srcRegion) const override
 
- Public Member Functions inherited from itk::ImageToImageFilterDetail::ImageRegionCopier< T1, T2 >
virtual void operator() (ImageRegion< D1 > &destRegion, const ImageRegion< D2 > &srcRegion) const
 
virtual ~ImageRegionCopier ()=default
 

Member Function Documentation

template<unsigned int T1, unsigned int T2>
virtual void itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< T1, T2 >::operator() ( ImageRegion< T1 > &  destRegion,
const ImageRegion< T2 > &  srcRegion,
const ImageRegion< T1 > &  totalInputExtractionRegion 
) const
inlinevirtual

Definition at line 144 of file itkExtractImageFilterRegionCopier.h.

template<unsigned int T1, unsigned int T2>
void itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< T1, T2 >::operator() ( ImageRegion< T1 > &  destRegion,
const ImageRegion< T2 > &  srcRegion 
) const
inlineoverride

Duplicate the superclass method to avoid warnings.

Definition at line 154 of file itkExtractImageFilterRegionCopier.h.

References itk::ImageToImageFilterDetail::ImageRegionCopier< D1, D2 >::operator()().


The documentation for this class was generated from the following file: