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

#include <itkMorphologicalGradientImageFilter.h>

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

List of all members.

Public Types

typedef
AnchorDilateImageFilter
< TInputImage, FlatKernelType
AnchorDilateFilterType
typedef AnchorErodeImageFilter
< TInputImage, FlatKernelType
AnchorErodeFilterType
typedef BasicDilateImageFilter
< TInputImage, TInputImage,
TKernel > 
BasicDilateFilterType
typedef BasicErodeImageFilter
< TInputImage, TInputImage,
TKernel > 
BasicErodeFilterType
typedef SmartPointer< const SelfConstPointer
typedef FlatStructuringElement
< itkGetStaticConstMacro(ImageDimension) > 
FlatKernelType
typedef
MovingHistogramMorphologicalGradientImageFilter
< TInputImage, TOutputImage,
TKernel > 
HistogramFilterType
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
MorphologicalGradientImageFilter 
Self
typedef TInputImage::SizeType SizeType
typedef SubtractImageFilter
< TInputImage, TInputImage,
TOutputImage > 
SubtractFilterType
typedef KernelImageFilter
< TInputImage, TOutputImage,
TKernel > 
Superclass
typedef
VanHerkGilWermanDilateImageFilter
< TInputImage, FlatKernelType
VHGWDilateFilterType
typedef
VanHerkGilWermanErodeImageFilter
< TInputImage, FlatKernelType
VHGWErodeFilterType

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 ()

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension

Protected Member Functions

void GenerateData ()

Private Member Functions

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

Private Attributes

int m_Algorithm
AnchorDilateFilterType::Pointer m_AnchorDilateFilter
AnchorErodeFilterType::Pointer m_AnchorErodeFilter
BasicDilateFilterType::Pointer m_BasicDilateFilter
BasicErodeFilterType::Pointer m_BasicErodeFilter
HistogramFilterType::Pointer m_HistogramFilter
VHGWDilateFilterType::Pointer m_VanHerkGilWermanDilateFilter
VHGWErodeFilterType::Pointer m_VanHerkGilWermanErodeFilter
enum
itk::MorphologicalGradientImageFilter::{
  BASIC = 0,
  HISTO = 1,
  ANCHOR = 2,
  VHGW = 3
AlgorithmChoice
 MorphologicalGradientImageFilter ()
 ~MorphologicalGradientImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage, class TOutputImage, class TKernel>
class itk::MorphologicalGradientImageFilter< 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 52 of file itkMorphologicalGradientImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage , class TKernel >
typedef AnchorDilateImageFilter< TInputImage, FlatKernelType > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::AnchorDilateFilterType

Definition at line 92 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef AnchorErodeImageFilter< TInputImage, FlatKernelType > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::AnchorErodeFilterType

Definition at line 93 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef BasicDilateImageFilter< TInputImage, TInputImage, TKernel > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::BasicDilateFilterType

Definition at line 88 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef BasicErodeImageFilter< TInputImage, TInputImage, TKernel > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::BasicErodeFilterType

Definition at line 90 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef SmartPointer< const Self > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer
template<class TInputImage , class TOutputImage , class TKernel >
typedef FlatStructuringElement< itkGetStaticConstMacro(ImageDimension) > itk::MorphologicalGradientImageFilter< 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 itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef MovingHistogramMorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::HistogramFilterType

Definition at line 86 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::IndexType itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::IndexType
template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::InputImageType

Image related typedefs.

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

Definition at line 74 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TKernel itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::KernelType

Kernel typedef.

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

Definition at line 102 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::OffsetType itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::OffsetType
template<class TInputImage , class TOutputImage , class TKernel >
typedef Superclass::OutputImageRegionType itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageRegionType

Superclass typedefs.

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

Definition at line 81 of file itkMorphologicalGradientImageFilter.h.

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

Some convenient typedefs.

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

Definition at line 75 of file itkMorphologicalGradientImageFilter.h.

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

Definition at line 79 of file itkMorphologicalGradientImageFilter.h.

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

Standard class typedefs.

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

Definition at line 57 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::SizeType itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::SizeType
template<class TInputImage , class TOutputImage , class TKernel >
typedef SubtractImageFilter< TInputImage, TInputImage, TOutputImage > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::SubtractFilterType

Definition at line 99 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::Superclass
template<class TInputImage , class TOutputImage , class TKernel >
typedef VanHerkGilWermanDilateImageFilter< TInputImage, FlatKernelType > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::VHGWDilateFilterType

Definition at line 95 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef VanHerkGilWermanErodeImageFilter< TInputImage, FlatKernelType > itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::VHGWErodeFilterType

Definition at line 97 of file itkMorphologicalGradientImageFilter.h.


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 120 of file itkMorphologicalGradientImageFilter.h.


Constructor & Destructor Documentation

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

define values used to determine which algorithm to use

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

define values used to determine which algorithm to use

Definition at line 128 of file itkMorphologicalGradientImageFilter.h.

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

Member Function Documentation

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

Runtime information support.

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

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

MorphologicalGradientImageFilter need to set its internal filters as modified

Reimplemented from itk::Object.

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

Standard New method.

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

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

define values used to determine which algorithm to use

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

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

Set/Get the backend filter class.

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

Set kernel (structuring element).

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


Member Data Documentation

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

define values used to determine which algorithm to use

template<class TInputImage , class TOutputImage , class TKernel >
const unsigned int itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::ImageDimension = TInputImage::ImageDimension [static]

Image related typedefs.

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

Definition at line 71 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
int itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::m_Algorithm [private]

Definition at line 154 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
AnchorDilateFilterType::Pointer itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::m_AnchorDilateFilter [private]

Definition at line 145 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
AnchorErodeFilterType::Pointer itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::m_AnchorErodeFilter [private]

Definition at line 147 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
BasicDilateFilterType::Pointer itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::m_BasicDilateFilter [private]

Definition at line 141 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
BasicErodeFilterType::Pointer itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::m_BasicErodeFilter [private]

Definition at line 143 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
HistogramFilterType::Pointer itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::m_HistogramFilter [private]

Definition at line 139 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
VHGWDilateFilterType::Pointer itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::m_VanHerkGilWermanDilateFilter [private]

Definition at line 149 of file itkMorphologicalGradientImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
VHGWErodeFilterType::Pointer itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >::m_VanHerkGilWermanErodeFilter [private]

Definition at line 151 of file itkMorphologicalGradientImageFilter.h.


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