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

itk::VotingBinaryImageFilter< TInputImage, TOutputImage > Class Template Reference
[Intensity Image Filters]

Applies a voting operation in a neighborhood of each pixel. More...

#include <itkVotingBinaryImageFilter.h>

Inheritance diagram for itk::VotingBinaryImageFilter< TInputImage, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::VotingBinaryImageFilter< TInputImage, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef VotingBinaryImageFilter Self
typedef ImageToImageFilter<
InputImageType, OutputImageType
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef InputImageType::PixelType InputPixelType
typedef OutputImageType::PixelType OutputPixelType
typedef InputImageType::RegionType InputImageRegionType
typedef OutputImageType::RegionType OutputImageRegionType
typedef InputImageType::SizeType InputSizeType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void SetRadius (InputSizeType _arg)
virtual const InputSizeTypeGetRadius ()
virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
virtual void SetBackgroundValue (InputPixelType _arg)
virtual void SetForegroundValue (InputPixelType _arg)
virtual const InputPixelTypeGetBackgroundValue ()
virtual const InputPixelTypeGetForegroundValue ()
virtual const InputPixelTypeGetBirthThreshold ()
virtual void SetBirthThreshold (InputPixelType _arg)
virtual const InputPixelTypeGetSurvivalThreshold ()
virtual void SetSurvivalThreshold (InputPixelType _arg)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 VotingBinaryImageFilter ()
virtual ~VotingBinaryImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId)

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::VotingBinaryImageFilter< TInputImage, TOutputImage >

Applies a voting operation in a neighborhood of each pixel.

See also:
Image

Neighborhood

NeighborhoodOperator

NeighborhoodIterator

Definition at line 37 of file itkVotingBinaryImageFilter.h.


Member Typedef Documentation

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

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 56 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::RegionType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputImageRegionType
 

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 68 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputImageType
 

Convenient typedefs for simplifying declarations.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 49 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::PixelType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputPixelType
 

Image typedef support.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 65 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::SizeType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::InputSizeType
 

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 71 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::RegionType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::OutputImageRegionType
 

Superclass typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 69 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TOutputImage itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::OutputImageType
 

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 50 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::PixelType itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::OutputPixelType
 

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 66 of file itkVotingBinaryImageFilter.h.

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

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 55 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef VotingBinaryImageFilter itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 53 of file itkVotingBinaryImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef ImageToImageFilter< InputImageType, OutputImageType> itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::Superclass
 

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

Definition at line 54 of file itkVotingBinaryImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::VotingBinaryImageFilter  )  [protected]
 

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

Definition at line 113 of file itkVotingBinaryImageFilter.h.


Member Function Documentation

template<class TInputImage, class TOutputImage>
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion  )  throw (InvalidRequestedRegionError) [virtual]
 

VotingBinaryImageFilter needs a larger input requested region than the output requested region. As such, VotingBinaryImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.

See also:
ImageToImageFilter::GenerateInputRequestedRegion()

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual const InputPixelType& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetBackgroundValue  )  [virtual]
 

Get the value associated with the Foreground (or the object) on the binary input image and the Background .

template<class TInputImage, class TOutputImage>
virtual const InputPixelType& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetBirthThreshold  )  [virtual]
 

Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold.

template<class TInputImage, class TOutputImage>
virtual const InputPixelType& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetForegroundValue  )  [virtual]
 

Get the value associated with the Foreground (or the object) on the binary input image and the Background .

template<class TInputImage, class TOutputImage>
virtual const char* itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual const InputSizeType& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetRadius  )  [virtual]
 

Get the radius of the neighborhood used to compute the median

template<class TInputImage, class TOutputImage>
virtual const InputPixelType& itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::GetSurvivalThreshold  )  [virtual]
 

Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold.

template<class TInputImage, class TOutputImage>
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro OutputImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension 
 

Extract dimension from input and output image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro InputImageDimension  ,
unsigned  int,
TInputImage::ImageDimension 
 

Extract dimension from input and output image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetBackgroundValue InputPixelType  _arg  )  [virtual]
 

Set the value associated with the Foreground (or the object) on the binary input image and the Background .

template<class TInputImage, class TOutputImage>
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetBirthThreshold InputPixelType  _arg  )  [virtual]
 

Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetForegroundValue InputPixelType  _arg  )  [virtual]
 

Set the value associated with the Foreground (or the object) on the binary input image and the Background .

template<class TInputImage, class TOutputImage>
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetRadius InputSizeType  _arg  )  [virtual]
 

Set the radius of the neighborhood used to compute the median.

template<class TInputImage, class TOutputImage>
virtual void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::SetSurvivalThreshold InputPixelType  _arg  )  [virtual]
 

Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
void itk::VotingBinaryImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData const OutputImageRegionType outputRegionForThread,
int  threadId
[protected, virtual]
 

VotingBinaryImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"

See also:
ImageToImageFilter::ThreadedGenerateData(), ImageToImageFilter::GenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

Reimplemented in itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >.


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