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

itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage > Class Template Reference
[Intensity Image FiltersMultithreaded Filters]

Implements the AND logical operator pixel-wise between two images. More...

#include <itkAndImageFilter.h>

Inheritance diagram for itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef AndImageFilter Self
typedef BinaryFunctorImageFilter<
TInputImage1, TInputImage2,
TOutputImage, Functor::AND<
typename TInputImage1::PixelType,
typename TInputImage2::PixelType,
typename TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Static Public Member Functions

Pointer New ()

Protected Member Functions

 AndImageFilter ()
virtual ~AndImageFilter ()

Detailed Description

template<class TInputImage1, class TInputImage2, class TOutputImage>
class itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >

Implements the AND logical operator pixel-wise between two images.

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

Since the logical AND operation is only defined in C++ for integer types, the images passed to this filter must comply with the requirement of using integer pixel type.

The total operation over one pixel will be

output_pixel = static_cast<OutputPixelType>( input1_pixel & input2_pixel )

Where "&" is the boolean AND operator in C++.

Definition at line 62 of file itkAndImageFilter.h.


Member Typedef Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef SmartPointer<const Self> itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer
 

Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >.

Definition at line 82 of file itkAndImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef SmartPointer<Self> itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer
 

Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >.

Definition at line 81 of file itkAndImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef AndImageFilter itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self
 

Standard class typedefs.

Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >.

Definition at line 74 of file itkAndImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef BinaryFunctorImageFilter<TInputImage1,TInputImage2,TOutputImage, Functor::AND< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType> > itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass
 

Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >.

Definition at line 80 of file itkAndImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >::AndImageFilter  )  [inline, protected]
 

Definition at line 88 of file itkAndImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
virtual itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >::~AndImageFilter  )  [inline, protected, virtual]
 

Definition at line 89 of file itkAndImageFilter.h.


Member Function Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
Pointer itk::AndImageFilter< TInputImage1, TInputImage2, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:20:58 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000