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

#include <itkGrayscaleDilateImageFilter.h>

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

List of all members.

Public Types

enum  {
  BASIC = 0,
  HISTO = 1,
  ANCHOR = 2,
  VHGW = 3
}
typedef
AnchorDilateImageFilter
< TInputImage, FlatKernelType
AnchorFilterType
typedef BasicDilateImageFilter
< TInputImage, TOutputImage,
TKernel > 
BasicFilterType
typedef CastImageFilter
< TInputImage, TOutputImage > 
CastFilterType
typedef SmartPointer< const SelfConstPointer
typedef
ConstantBoundaryCondition
< InputImageType
DefaultBoundaryConditionType
typedef FlatStructuringElement
< itkGetStaticConstMacro(ImageDimension) > 
FlatKernelType
typedef
MovingHistogramDilateImageFilter
< TInputImage, TOutputImage,
TKernel > 
HistogramFilterType
typedef ImageBoundaryCondition
< InputImageType > const * 
ImageBoundaryConditionConstPointerType
typedef ImageBoundaryCondition
< InputImageType > * 
ImageBoundaryConditionPointerType
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 GrayscaleDilateImageFilter Self
typedef TInputImage::SizeType SizeType
typedef KernelImageFilter
< TInputImage, TOutputImage,
TKernel > 
Superclass
typedef
VanHerkGilWermanDilateImageFilter
< TInputImage, FlatKernelType
VHGWFilterType

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual int GetAlgorithm () const
virtual PixelType GetBoundary () const
virtual const char * GetNameOfClass () const
virtual void Modified () const
void SetAlgorithm (int algo)
void SetBoundary (const PixelType value)
void SetKernel (const KernelType &kernel)
void SetNumberOfThreads (ThreadIdType nb)

Static Public Member Functions

static Pointer New ()

Public Attributes

enum
itk::GrayscaleDilateImageFilter:: { ... }  
AlgorithmChoice

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension

Protected Member Functions

void GenerateData ()
 GrayscaleDilateImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~GrayscaleDilateImageFilter ()

Private Member Functions

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

Private Attributes

int m_Algorithm
AnchorFilterType::Pointer m_AnchorFilter
BasicFilterType::Pointer m_BasicFilter
PixelType m_Boundary
DefaultBoundaryConditionType m_BoundaryCondition
HistogramFilterType::Pointer m_HistogramFilter
VHGWFilterType::Pointer m_VHGWFilter

Detailed Description

template<class TInputImage, class TOutputImage, class TKernel>
class itk::GrayscaleDilateImageFilter< 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
Wiki Examples:

Definition at line 53 of file itkGrayscaleDilateImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage , class TKernel >
typedef AnchorDilateImageFilter< TInputImage, FlatKernelType > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::AnchorFilterType

Definition at line 91 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef BasicDilateImageFilter< TInputImage, TOutputImage, TKernel > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::BasicFilterType

Definition at line 87 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef CastImageFilter< TInputImage, TOutputImage > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::CastFilterType

Definition at line 93 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef SmartPointer< const Self > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer
template<class TInputImage , class TOutputImage , class TKernel >
typedef ConstantBoundaryCondition< InputImageType > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::DefaultBoundaryConditionType

Definition at line 98 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef FlatStructuringElement< itkGetStaticConstMacro(ImageDimension) > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::FlatKernelType

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

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

Definition at line 89 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef MovingHistogramDilateImageFilter< TInputImage, TOutputImage, TKernel > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::HistogramFilterType

Definition at line 85 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef ImageBoundaryCondition< InputImageType > const* itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::ImageBoundaryConditionConstPointerType

Definition at line 97 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef ImageBoundaryCondition< InputImageType >* itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::ImageBoundaryConditionPointerType

Typedef for boundary conditions.

Definition at line 96 of file itkGrayscaleDilateImageFilter.h.

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

Image related typedefs.

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

Definition at line 75 of file itkGrayscaleDilateImageFilter.h.

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

Kernel typedef.

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

Definition at line 101 of file itkGrayscaleDilateImageFilter.h.

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

Superclass typedefs.

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

Definition at line 82 of file itkGrayscaleDilateImageFilter.h.

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

Some convenient typedefs.

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

Definition at line 76 of file itkGrayscaleDilateImageFilter.h.

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

Definition at line 80 of file itkGrayscaleDilateImageFilter.h.

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

Standard class typedefs.

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

Definition at line 58 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TInputImage::SizeType itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::SizeType
template<class TInputImage , class TOutputImage , class TKernel >
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::Superclass
template<class TInputImage , class TOutputImage , class TKernel >
typedef VanHerkGilWermanDilateImageFilter< TInputImage, FlatKernelType > itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::VHGWFilterType

Definition at line 92 of file itkGrayscaleDilateImageFilter.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 123 of file itkGrayscaleDilateImageFilter.h.


Constructor & Destructor Documentation

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

Definition at line 134 of file itkGrayscaleDilateImageFilter.h.

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

Member Function Documentation

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

GrayscaleDilateImageFilter need to set its internal filters as modified

Reimplemented from itk::Object.

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

Standard New method.

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

template<class TInputImage , class TOutputImage , class TKernel >
void itk::GrayscaleDilateImageFilter< 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::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::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::KernelImageFilter< TInputImage, TOutputImage, TKernel >.

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

Set/Get the backend filter class.

template<class TInputImage , class TOutputImage , class TKernel >
void itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::SetBoundary ( const PixelType  value)

Set/Get the boundary value.

template<class TInputImage , class TOutputImage , class TKernel >
void itk::GrayscaleDilateImageFilter< 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 >
void itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::SetNumberOfThreads ( ThreadIdType  _arg) [virtual]

Get/Set the number of threads to create when executing.

Reimplemented from itk::ProcessObject.


Member Data Documentation

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

define values used to determine which algorithm to use

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

Image related typedefs.

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

Definition at line 72 of file itkGrayscaleDilateImageFilter.h.

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

Definition at line 155 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
AnchorFilterType::Pointer itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::m_AnchorFilter [private]

Definition at line 150 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
BasicFilterType::Pointer itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::m_BasicFilter [private]

Definition at line 148 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
PixelType itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::m_Boundary [private]

Definition at line 143 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
DefaultBoundaryConditionType itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::m_BoundaryCondition [private]

Definition at line 158 of file itkGrayscaleDilateImageFilter.h.

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

Definition at line 146 of file itkGrayscaleDilateImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
VHGWFilterType::Pointer itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >::m_VHGWFilter [private]

Definition at line 152 of file itkGrayscaleDilateImageFilter.h.


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