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

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

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

#include <itkOrImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef OrImageFilter Self
typedef BinaryFunctorImageFilter<
TInputImage1, TInputImage2,
TOutputImage, Functor::OR<
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

 OrImageFilter ()
virtual ~OrImageFilter ()

Detailed Description

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

Implements the OR 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 OR 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 OR operator in C++.

Definition at line 62 of file itkOrImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 82 of file itkOrImageFilter.h.

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

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

Definition at line 81 of file itkOrImageFilter.h.

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

Standard class typedefs.

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

Definition at line 74 of file itkOrImageFilter.h.

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

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

Definition at line 80 of file itkOrImageFilter.h.


Constructor & Destructor Documentation

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

Definition at line 88 of file itkOrImageFilter.h.

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

Definition at line 89 of file itkOrImageFilter.h.


Member Function Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
Pointer itk::OrImageFilter< 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 02:00:43 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000