ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel > Class Template Reference

binary morphological closing of an image. More...

#include <itkBinaryMorphologicalOpeningImageFilter.h>

Inheritance diagram for itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >:
Collaboration diagram for itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef InputImageType::Pointer InputImagePointer
typedef TInputImage InputImageType
typedef TKernel KernelType
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef TInputImage::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef
BinaryMorphologicalOpeningImageFilter 
Self
typedef KernelImageFilter
< TInputImage, TOutputImage,
TKernel > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual PixelType GetForegroundValue () const
virtual const char * GetNameOfClass () const
virtual void SetBackgroundValue (PixelType _arg)
virtual void SetForegroundValue (PixelType _arg)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

void GenerateData ()

Private Member Functions

 BinaryMorphologicalOpeningImageFilter (const Self &)
void operator= (const Self &)

Private Attributes

PixelType m_BackgroundValue
PixelType m_ForegroundValue
virtual PixelType GetBackgroundValue () const
 BinaryMorphologicalOpeningImageFilter ()
 ~BinaryMorphologicalOpeningImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage, class TOutputImage, class TKernel>
class itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >

binary morphological closing of an image.

This filter removes small (i.e., smaller than the structuring element) structures in the interior or at the boundaries of the image. The morphological opening of an image "f" is defined as: Opening(f) = Dilatation(Erosion(f)).

The structuring element is assumed to be composed of binary values (zero or one). Only elements of the structuring element having values > 0 are candidates for affecting the center pixel.

This code was contributed in the Insight Journal paper: "Binary morphological closing and opening image filters" by Lehmann G. http://hdl.handle.net/1926/141 http://www.insight-journal.org/browse/publication/58

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.
See also:
MorphologyImageFilter, GrayscaleDilateImageFilter, GrayscaleErodeImageFilter

Definition at line 55 of file itkBinaryMorphologicalOpeningImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage , class TKernel >
typedef SmartPointer< const Self > itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer
template<class TInputImage , class TOutputImage , class TKernel >
typedef InputImageType::Pointer itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::InputImagePointer
template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::InputImageType
template<class TInputImage , class TOutputImage , class TKernel >
typedef TKernel itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::KernelType
template<class TInputImage , class TOutputImage , class TKernel >
typedef OutputImageType::RegionType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageRegionType

Superclass typedefs.

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

Definition at line 75 of file itkBinaryMorphologicalOpeningImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TOutputImage itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 73 of file itkBinaryMorphologicalOpeningImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::PixelType

Declaration of pixel type.

Definition at line 78 of file itkBinaryMorphologicalOpeningImageFilter.h.

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

Standard class typedefs.

Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 60 of file itkBinaryMorphologicalOpeningImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage , class TKernel >
itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::BinaryMorphologicalOpeningImageFilter ( ) [protected]

Set the value in eroded part of the image. Defaults to zero

template<class TInputImage , class TOutputImage , class TKernel >
itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::~BinaryMorphologicalOpeningImageFilter ( ) [inline, protected]

Set the value in eroded part of the image. Defaults to zero

Definition at line 98 of file itkBinaryMorphologicalOpeningImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::BinaryMorphologicalOpeningImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage , class TKernel >
virtual::itk::LightObject::Pointer itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.

template<class TInputImage , class TOutputImage , class TKernel >
void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData ( ) [protected, virtual]

Single-threaded version of GenerateData. This filter delegates to GrayscaleDilateImageFilter GrayscaleErodeImageFilter.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage , class TKernel >
virtual PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GetBackgroundValue ( ) const [virtual]

Set the value in eroded part of the image. Defaults to zero

template<class TInputImage , class TOutputImage , class TKernel >
virtual PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GetForegroundValue ( ) const [virtual]

Get the value in the image considered as "foreground". Defaults to maximum value of PixelType.

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

Runtime information support.

Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.

template<class TInputImage , class TOutputImage , class TKernel >
static Pointer itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::New ( ) [static]

Standard New method.

Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.

template<class TInputImage , class TOutputImage , class TKernel >
void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::operator= ( const Self ) [private]

kernel or structuring element to use.

Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.

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

Set the value in eroded part of the image. Defaults to zero

Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.

template<class TInputImage , class TOutputImage , class TKernel >
virtual void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::SetBackgroundValue ( PixelType  _arg) [virtual]

Set the value in eroded part of the image. Defaults to zero

template<class TInputImage , class TOutputImage , class TKernel >
virtual void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::SetForegroundValue ( PixelType  _arg) [virtual]

Set the value in the image to consider as "foreground". Defaults to maximum value of PixelType.


Member Data Documentation

template<class TInputImage , class TOutputImage , class TKernel >
PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::m_BackgroundValue [private]

Definition at line 114 of file itkBinaryMorphologicalOpeningImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::m_ForegroundValue [private]

Definition at line 112 of file itkBinaryMorphologicalOpeningImageFilter.h.


The documentation for this class was generated from the following file: