Public Member Functions | Static Public Member Functions | Private Attributes

cmtk::ImageOperationErodeDilate Class Reference

Image operation: erode or dilate. More...

#include <cmtkImageOperationErodeDilate.h>

Inheritance diagram for cmtk::ImageOperationErodeDilate:
Inheritance graph
[legend]
Collaboration diagram for cmtk::ImageOperationErodeDilate:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ImageOperationErodeDilate (const int iterations)
 Constructor:
virtual
cmtk::UniformVolume::SmartPtr 
Apply (cmtk::UniformVolume::SmartPtr &volume)
 Apply this operation to an image in place.

Static Public Member Functions

static void NewDilate (const long int iterations)
 Create new dilation operation.
static void NewErode (const long int iterations)
 Create new erosion operation.

Private Attributes

int m_Iterations
 Number of iterations of erosion (if negative) or dilation (if positive).

Detailed Description

Image operation: erode or dilate.

Inherit from image operation base class.

Definition at line 44 of file cmtkImageOperationErodeDilate.h.


Constructor & Destructor Documentation

cmtk::ImageOperationErodeDilate::ImageOperationErodeDilate ( const int  iterations ) [inline]

Constructor:

Definition at line 50 of file cmtkImageOperationErodeDilate.h.


Member Function Documentation

virtual cmtk::UniformVolume::SmartPtr cmtk::ImageOperationErodeDilate::Apply ( cmtk::UniformVolume::SmartPtr volume ) [inline, virtual]

Apply this operation to an image in place.

Reimplemented from cmtk::ImageOperation.

Definition at line 53 of file cmtkImageOperationErodeDilate.h.

References cmtk::DataGridMorphologicalOperators::GetDilated(), and cmtk::DataGridMorphologicalOperators::GetEroded().

static void cmtk::ImageOperationErodeDilate::NewDilate ( const long int  iterations ) [inline, static]

Create new dilation operation.

Definition at line 72 of file cmtkImageOperationErodeDilate.h.

static void cmtk::ImageOperationErodeDilate::NewErode ( const long int  iterations ) [inline, static]

Create new erosion operation.

Definition at line 78 of file cmtkImageOperationErodeDilate.h.


Member Data Documentation

Number of iterations of erosion (if negative) or dilation (if positive).

Definition at line 85 of file cmtkImageOperationErodeDilate.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines