Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< D1, D2 > Class Template Reference

#include <itkExtractImageFilterRegionCopier.h>

Inheritance diagram for itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< D1, D2 >:

Inheritance graph
[legend]
Collaboration diagram for itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< D1, D2 >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<unsigned int D1, unsigned int D2>
class itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< D1, D2 >

ExtractImageFilterRegionCopier is a special variation on ImageRegionCopier. The difference in this version is when the D1 > D2. 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 (D1 = D2, and D1 < D2) are identical to the implementation in ImageToImageFilterDetail.

Definition at line 134 of file itkExtractImageFilterRegionCopier.h.

Public Member Functions

virtual void operator() (ImageRegion< D1 > &destRegion, const ImageRegion< D2 > &srcRegion, const ImageRegion< D1 > &totalInputExtractionRegion) const
virtual void operator() (ImageRegion< D1 > &destRegion, const ImageRegion< D2 > &srcRegion) const


Member Function Documentation

template<unsigned int D1, unsigned int D2>
virtual void itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< D1, D2 >::operator() ( ImageRegion< D1 > &  destRegion,
const ImageRegion< D2 > &  srcRegion 
) const [inline, virtual]

Duplicate the superclass method to avoid warnings.

Reimplemented from itk::ImageToImageFilterDetail::ImageRegionCopier< D1, D2 >.

Definition at line 149 of file itkExtractImageFilterRegionCopier.h.

template<unsigned int D1, unsigned int D2>
virtual void itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier< D1, D2 >::operator() ( ImageRegion< D1 > &  destRegion,
const ImageRegion< D2 > &  srcRegion,
const ImageRegion< D1 > &  totalInputExtractionRegion 
) const [inline, virtual]

Definition at line 138 of file itkExtractImageFilterRegionCopier.h.


The documentation for this class was generated from the following file:
Generated at Sun Sep 23 23:38:29 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000