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

#include <itkGrayscaleMorphologicalClosingImageFilter.h>

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

List of all members.

Public Types

enum  {
  BASIC = 0,
  HISTO = 1,
  ANCHOR = 2,
  VHGW = 3
}
typedef AnchorCloseImageFilter
< TInputImage, FlatKernelType
AnchorFilterType
typedef BasicDilateImageFilter
< TInputImage, TInputImage,
TKernel > 
BasicDilateFilterType
typedef BasicErodeImageFilter
< TInputImage, TOutputImage,
TKernel > 
BasicErodeFilterType
typedef SmartPointer< const SelfConstPointer
typedef FlatStructuringElement
< itkGetStaticConstMacro(ImageDimension) > 
FlatKernelType
typedef
MovingHistogramDilateImageFilter
< TInputImage, TOutputImage,
TKernel > 
HistogramDilateFilterType
typedef
MovingHistogramErodeImageFilter
< TInputImage, TOutputImage,
TKernel > 
HistogramErodeFilterType
typedef TInputImage::IndexType IndexType
typedef TInputImage InputImageType
typedef TKernel KernelType
typedef TInputImage::OffsetType OffsetType
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
typedef TOutputImage OutputImageType
typedef TInputImage::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef TInputImage::RegionType RegionType
typedef
GrayscaleMorphologicalClosingImageFilter 
Self
typedef TInputImage::SizeType SizeType
typedef CastImageFilter
< TInputImage, TOutputImage > 
SubtractFilterType
typedef KernelImageFilter
< TInputImage, TOutputImage,
TKernel > 
Superclass
typedef
VanHerkGilWermanDilateImageFilter
< TInputImage, FlatKernelType
VanHerkGilWermanDilateFilterType
typedef
VanHerkGilWermanErodeImageFilter
< TInputImage, FlatKernelType
VanHerkGilWermanErodeFilterType

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual int GetAlgorithm () const
virtual const char * GetNameOfClass () const
virtual void Modified () const
void SetAlgorithm (int algo)
void SetKernel (const KernelType &kernel)

Static Public Member Functions

static Pointer New ()

Public Attributes

enum
itk::GrayscaleMorphologicalClosingImageFilter:: { ... }  
AlgorithmChoice

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension

Protected Member Functions

void GenerateData ()

Private Member Functions

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

Private Attributes

int m_Algorithm
AnchorFilterType::Pointer m_AnchorFilter
BasicDilateFilterType::Pointer m_BasicDilateFilter
BasicErodeFilterType::Pointer m_BasicErodeFilter
HistogramDilateFilterType::Pointer m_HistogramDilateFilter
HistogramErodeFilterType::Pointer m_HistogramErodeFilter
bool m_SafeBorder
VanHerkGilWermanDilateFilterType::Pointer m_VanHerkGilWermanDilateFilter
VanHerkGilWermanErodeFilterType::Pointer m_VanHerkGilWermanErodeFilter
virtual void SetSafeBorder (bool _arg)
virtual const bool & GetSafeBorder ()
virtual void SafeBorderOn ()
virtual void SafeBorderOff ()
 GrayscaleMorphologicalClosingImageFilter ()
 ~GrayscaleMorphologicalClosingImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

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

gray scale dilation of an image

Erode an image using grayscale morphology. Dilation takes the maximum of all the pixels identified by the structuring element.

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.

See also:
MorphologyImageFilter, GrayscaleFunctionErodeImageFilter, BinaryErodeImageFilter

Definition at line 52 of file itkGrayscaleMorphologicalClosingImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage , class TKernel >
typedef AnchorCloseImageFilter< TInputImage, FlatKernelType > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::AnchorFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef BasicDilateImageFilter< TInputImage, TInputImage, TKernel > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::BasicDilateFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef BasicErodeImageFilter< TInputImage, TOutputImage, TKernel > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::BasicErodeFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef SmartPointer< const Self > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer
template<class TInputImage , class TOutputImage , class TKernel >
typedef FlatStructuringElement< itkGetStaticConstMacro(ImageDimension) > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::FlatKernelType

Kernel type used to create box kernel, in SetRadius() method

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

Definition at line 84 of file itkGrayscaleMorphologicalClosingImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef MovingHistogramDilateImageFilter< TInputImage, TOutputImage, TKernel > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::HistogramDilateFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef MovingHistogramErodeImageFilter< TInputImage, TOutputImage, TKernel > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::HistogramErodeFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::IndexType itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::IndexType
template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::InputImageType
template<class TInputImage , class TOutputImage , class TKernel >
typedef TKernel itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::KernelType
template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::OffsetType itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::OffsetType
template<class TInputImage , class TOutputImage , class TKernel >
typedef Superclass::OutputImageRegionType itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageRegionType

Superclass typedefs.

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

Definition at line 81 of file itkGrayscaleMorphologicalClosingImageFilter.h.

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

Some convenient typedefs.

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

Definition at line 75 of file itkGrayscaleMorphologicalClosingImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::PixelType itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::PixelType
template<class TInputImage , class TOutputImage , class TKernel >
typedef SmartPointer< Self > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::Pointer
template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::RegionType itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::RegionType
template<class TInputImage , class TOutputImage , class TKernel >
typedef GrayscaleMorphologicalClosingImageFilter itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::Self

Standard class typedefs.

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

Definition at line 57 of file itkGrayscaleMorphologicalClosingImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::SizeType itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::SizeType
template<class TInputImage , class TOutputImage , class TKernel >
typedef CastImageFilter< TInputImage, TOutputImage > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::SubtractFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::Superclass
template<class TInputImage , class TOutputImage , class TKernel >
typedef VanHerkGilWermanDilateImageFilter< TInputImage, FlatKernelType > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::VanHerkGilWermanDilateFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef VanHerkGilWermanErodeImageFilter< TInputImage, FlatKernelType > itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::VanHerkGilWermanErodeFilterType

Member Enumeration Documentation

template<class TInputImage , class TOutputImage , class TKernel >
anonymous enum

define values used to determine which algorithm to use

Enumerator:
BASIC 
HISTO 
ANCHOR 
VHGW 

Definition at line 119 of file itkGrayscaleMorphologicalClosingImageFilter.h.


Constructor & Destructor Documentation

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

A safe border is added to input image to avoid borders effects and remove it once the closing is done

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

A safe border is added to input image to avoid borders effects and remove it once the closing is done

Definition at line 133 of file itkGrayscaleMorphologicalClosingImageFilter.h.

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

Member Function Documentation

template<class TInputImage , class TOutputImage , class TKernel >
virtual::itk::LightObject::Pointer itk::GrayscaleMorphologicalClosingImageFilter< 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::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData ( ) [protected, virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

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

Runtime information support.

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

template<class TInputImage , class TOutputImage , class TKernel >
virtual const bool& itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::GetSafeBorder ( ) [virtual]

A safe border is added to input image to avoid borders effects and remove it once the closing is done

template<class TInputImage , class TOutputImage , class TKernel >
virtual void itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::Modified ( ) const [virtual]

GrayscaleMorphologicalClosingImageFilter need to set its internal filters as modified

Reimplemented from itk::Object.

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

Standard New method.

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

template<class TInputImage , class TOutputImage , class TKernel >
void itk::GrayscaleMorphologicalClosingImageFilter< 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::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

A safe border is added to input image to avoid borders effects and remove it once the closing is done

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

template<class TInputImage , class TOutputImage , class TKernel >
virtual void itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::SafeBorderOff ( ) [virtual]

A safe border is added to input image to avoid borders effects and remove it once the closing is done

template<class TInputImage , class TOutputImage , class TKernel >
virtual void itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::SafeBorderOn ( ) [virtual]

A safe border is added to input image to avoid borders effects and remove it once the closing is done

template<class TInputImage , class TOutputImage , class TKernel >
void itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::SetAlgorithm ( int  algo)

Set/Get the backend filter class.

template<class TInputImage , class TOutputImage , class TKernel >
void itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::SetKernel ( const KernelType kernel) [virtual]

Set kernel (structuring element).

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

template<class TInputImage , class TOutputImage , class TKernel >
virtual void itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::SetSafeBorder ( bool  _arg) [virtual]

A safe border is added to input image to avoid borders effects and remove it once the closing is done


Member Data Documentation

enum { ... } itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::AlgorithmChoice

define values used to determine which algorithm to use

template<class TInputImage , class TOutputImage , class TKernel >
const unsigned int itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::ImageDimension = TInputImage::ImageDimension [static]
template<class TInputImage , class TOutputImage , class TKernel >
int itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_Algorithm [private]
template<class TInputImage , class TOutputImage , class TKernel >
AnchorFilterType::Pointer itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_AnchorFilter [private]
template<class TInputImage , class TOutputImage , class TKernel >
BasicDilateFilterType::Pointer itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_BasicDilateFilter [private]
template<class TInputImage , class TOutputImage , class TKernel >
BasicErodeFilterType::Pointer itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_BasicErodeFilter [private]
template<class TInputImage , class TOutputImage , class TKernel >
HistogramDilateFilterType::Pointer itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_HistogramDilateFilter [private]
template<class TInputImage , class TOutputImage , class TKernel >
HistogramErodeFilterType::Pointer itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_HistogramErodeFilter [private]
template<class TInputImage , class TOutputImage , class TKernel >
bool itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_SafeBorder [private]
template<class TInputImage , class TOutputImage , class TKernel >
VanHerkGilWermanDilateFilterType::Pointer itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_VanHerkGilWermanDilateFilter [private]
template<class TInputImage , class TOutputImage , class TKernel >
VanHerkGilWermanErodeFilterType::Pointer itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >::m_VanHerkGilWermanErodeFilter [private]

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