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::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel > Class Template Reference

#include <itkGrayscaleMorphologicalOpeningImageFilter.h>

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

List of all members.

Public Types

enum  {
  BASIC = 0,
  HISTO = 1,
  ANCHOR = 2,
  VHGW = 3
}
typedef AnchorOpenImageFilter
< TInputImage, FlatKernelType
AnchorFilterType
typedef BasicDilateImageFilter
< TInputImage, TOutputImage,
TKernel > 
BasicDilateFilterType
typedef BasicErodeImageFilter
< TInputImage, TInputImage,
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
GrayscaleMorphologicalOpeningImageFilter 
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::GrayscaleMorphologicalOpeningImageFilter:: { ... }  
AlgorithmChoice

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension

Protected Member Functions

void GenerateData ()

Private Member Functions

 GrayscaleMorphologicalOpeningImageFilter (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 ()
 GrayscaleMorphologicalOpeningImageFilter ()
 ~GrayscaleMorphologicalOpeningImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

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

gray scale dilation of an image

Dilate 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, GrayscaleFunctionDilateImageFilter, BinaryDilateImageFilter

Definition at line 51 of file itkGrayscaleMorphologicalOpeningImageFilter.h.


Member Typedef Documentation

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

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

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

Definition at line 83 of file itkGrayscaleMorphologicalOpeningImageFilter.h.

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

Superclass typedefs.

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

Definition at line 80 of file itkGrayscaleMorphologicalOpeningImageFilter.h.

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

Some convenient typedefs.

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

Definition at line 74 of file itkGrayscaleMorphologicalOpeningImageFilter.h.

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

Standard class typedefs.

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

Definition at line 56 of file itkGrayscaleMorphologicalOpeningImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::SizeType itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::SizeType
template<class TInputImage , class TOutputImage , class TKernel >
typedef CastImageFilter< TInputImage, TOutputImage > itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::SubtractFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Superclass
template<class TInputImage , class TOutputImage , class TKernel >
typedef VanHerkGilWermanDilateImageFilter< TInputImage, FlatKernelType > itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::VanHerkGilWermanDilateFilterType
template<class TInputImage , class TOutputImage , class TKernel >
typedef VanHerkGilWermanErodeImageFilter< TInputImage, FlatKernelType > itk::GrayscaleMorphologicalOpeningImageFilter< 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 118 of file itkGrayscaleMorphologicalOpeningImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage , class TKernel >
itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GrayscaleMorphologicalOpeningImageFilter ( ) [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::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::~GrayscaleMorphologicalOpeningImageFilter ( ) [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 132 of file itkGrayscaleMorphologicalOpeningImageFilter.h.

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

Member Function Documentation

template<class TInputImage , class TOutputImage , class TKernel >
virtual::itk::LightObject::Pointer itk::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GetAlgorithm ( ) const [virtual]
template<class TInputImage , class TOutputImage , class TKernel >
virtual const char* itk::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Modified ( ) const [virtual]

GrayscaleMorphologicalOpeningImageFilter need to set its internal filters as modified

Reimplemented from itk::Object.

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

Standard New method.

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

template<class TInputImage , class TOutputImage , class TKernel >
void itk::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::SetAlgorithm ( int  algo)

Set/Get the backend filter class.

template<class TInputImage , class TOutputImage , class TKernel >
void itk::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< 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::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::AlgorithmChoice

define values used to determine which algorithm to use

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

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