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

itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage > Class Template Reference
[Intensity Image FiltersMultithreaded Filters]

Implements an operator for pixel-wise masking of the input image with the mask. More...

#include <itkMaskImageFilter.h>

List of all members.

Public Types

typedef MaskImageFilter Self
typedef BinaryFunctorImageFilter<
TInputImage, TMaskImage,
TOutputImage, Functor::MaskInput<
typename TInputImage::PixelType,
typename TMaskImage::PixelType,
typename TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Static Public Member Functions

Pointer New ()

Protected Member Functions

 MaskImageFilter ()
virtual ~MaskImageFilter ()


Detailed Description

template<class TInputImage, class TMaskImage, class TOutputImage>
class itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >

Implements an operator for pixel-wise masking of the input image with the mask.

This class is parametrized over the types of the input image type, the mask image type and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.

The pixel type of the input 1 image must have a valid defintion of the operator > with a pixel type of the image 2. This condition is required because internally this filter will perform the operation

if pixel_from_mask_image == 0 pixel_input_image = 0

The result from the sum, is cast to the pixel type of the output image.

Note that the input and the mask images must be of the same size.

Warning:
Any pixel value other than 0 will not be masked out.

Definition at line 73 of file itkMaskImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TMaskImage, class TOutputImage>
typedef SmartPointer<const Self> itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::ConstPointer
 

Definition at line 93 of file itkMaskImageFilter.h.

template<class TInputImage, class TMaskImage, class TOutputImage>
typedef SmartPointer<Self> itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::Pointer
 

Definition at line 92 of file itkMaskImageFilter.h.

template<class TInputImage, class TMaskImage, class TOutputImage>
typedef MaskImageFilter itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::Self
 

Standard class typedefs. Definition at line 85 of file itkMaskImageFilter.h.

template<class TInputImage, class TMaskImage, class TOutputImage>
typedef BinaryFunctorImageFilter<TInputImage,TMaskImage,TOutputImage, Functor::MaskInput< typename TInputImage::PixelType, typename TMaskImage::PixelType, typename TOutputImage::PixelType> > itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::Superclass
 

Definition at line 91 of file itkMaskImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TMaskImage, class TOutputImage>
itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::MaskImageFilter  )  [inline, protected]
 

Definition at line 99 of file itkMaskImageFilter.h.

template<class TInputImage, class TMaskImage, class TOutputImage>
virtual itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::~MaskImageFilter  )  [inline, protected, virtual]
 

Definition at line 100 of file itkMaskImageFilter.h.


Member Function Documentation

template<class TInputImage, class TMaskImage, class TOutputImage>
Pointer itk::MaskImageFilter< TInputImage, TMaskImage, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:48:17 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000