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

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

Fills in holes and cavities by applying a voting operation on each pixel. More...

#include <itkVotingBinaryHoleFillingImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef VotingBinaryHoleFillingImageFilter Self
typedef VotingBinaryImageFilter<
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 const unsigned int & GetNumberOfPixelsChanged ()
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
virtual const unsigned int & GetMajorityThreshold ()
virtual void SetMajorityThreshold (unsigned int _arg)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 VotingBinaryHoleFillingImageFilter ()
virtual ~VotingBinaryHoleFillingImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId)
void SetBirthThreshold (const InputPixelType value)
void SetSurvivalThreshold (const InputPixelType value)
void BeforeThreadedGenerateData ()
void AfterThreadedGenerateData ()

Detailed Description

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

Fills in holes and cavities by applying a voting operation on each pixel.

See also:
Image

VotingBinaryImageFilter

VotingBinaryIterativeHoleFillingImageFilter

Neighborhood

NeighborhoodOperator

NeighborhoodIterator

Definition at line 39 of file itkVotingBinaryHoleFillingImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 58 of file itkVotingBinaryHoleFillingImageFilter.h.

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

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

Definition at line 70 of file itkVotingBinaryHoleFillingImageFilter.h.

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

Convenient typedefs for simplifying declarations.

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

Definition at line 51 of file itkVotingBinaryHoleFillingImageFilter.h.

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

Image typedef support.

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

Definition at line 67 of file itkVotingBinaryHoleFillingImageFilter.h.

Referenced by itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::SetBirthThreshold(), and itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::~VotingBinaryHoleFillingImageFilter().

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

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

Definition at line 73 of file itkVotingBinaryHoleFillingImageFilter.h.

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

Superclass typedefs.

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

Definition at line 71 of file itkVotingBinaryHoleFillingImageFilter.h.

Referenced by itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::SetSurvivalThreshold().

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

Some convenient typedefs.

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

Definition at line 52 of file itkVotingBinaryHoleFillingImageFilter.h.

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

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

Definition at line 68 of file itkVotingBinaryHoleFillingImageFilter.h.

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

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

Definition at line 57 of file itkVotingBinaryHoleFillingImageFilter.h.

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

Standard class typedefs.

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

Definition at line 55 of file itkVotingBinaryHoleFillingImageFilter.h.

Referenced by itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::SetSurvivalThreshold().

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

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

Definition at line 56 of file itkVotingBinaryHoleFillingImageFilter.h.


Constructor & Destructor Documentation

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

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

Definition at line 92 of file itkVotingBinaryHoleFillingImageFilter.h.

References itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::InputPixelType.


Member Function Documentation

template<class TInputImage, class TOutputImage>
void itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::AfterThreadedGenerateData  )  [protected, virtual]
 

Methods to be called before and after the invokation of ThreadedGenerateData().

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage, class TOutputImage>
void itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData  )  [protected, virtual]
 

Methods to be called before and after the invokation of ThreadedGenerateData().

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual const unsigned int& itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::GetMajorityThreshold  )  [virtual]
 

Majority threshold. It is the number of pixels over 50% that will decide whether an OFF pixel will become ON or not. For example, if the neighborhood of a pixel has 124 pixels (excluding itself), the 50% will be 62, and if you set upd a Majority threshold of 5, that means that the filter will require 67 or more neighbor pixels to be ON in order to switch the current OFF pixel to ON. The default value is 1.

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

Run-time type information (and related methods).

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

template<class TInputImage, class TOutputImage>
virtual const unsigned int& itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::GetNumberOfPixelsChanged  )  [virtual]
 

Returns the number of pixels that changed when the filter was executed.

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

Extract dimension from input and output image.

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

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

Extract dimension from input and output image.

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

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

Method for creation through the object factory.

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

template<class TInputImage, class TOutputImage>
void itk::VotingBinaryHoleFillingImageFilter< 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::VotingBinaryImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
void itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::SetBirthThreshold const InputPixelType  value  )  [inline, protected, virtual]
 

Make protected the methods SetBirthThreshold() and SetSurvivalThreshold() so users of this filter do not have access to them.

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

Definition at line 98 of file itkVotingBinaryHoleFillingImageFilter.h.

References itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::InputPixelType.

template<class TInputImage, class TOutputImage>
virtual void itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::SetMajorityThreshold unsigned int  _arg  )  [virtual]
 

Majority threshold. It is the number of pixels over 50% that will decide whether an OFF pixel will become ON or not. For example, if the neighborhood of a pixel has 124 pixels (excluding itself), the 50% will be 62, and if you set upd a Majority threshold of 5, that means that the filter will require 67 or more neighbor pixels to be ON in order to switch the current OFF pixel to ON. The default value is 1.

template<class TInputImage, class TOutputImage>
void itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::SetSurvivalThreshold const InputPixelType  value  )  [inline, protected, virtual]
 

Make protected the methods SetBirthThreshold() and SetSurvivalThreshold() so users of this filter do not have access to them.

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

Definition at line 100 of file itkVotingBinaryHoleFillingImageFilter.h.

References itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType, and itk::VotingBinaryHoleFillingImageFilter< TInputImage, TOutputImage >::Self.

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

VotingBinaryHoleFillingImageFilter 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::VotingBinaryImageFilter< TInputImage, TOutputImage >.


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