VTK
Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageOpenClose3D Class Reference

Will perform opening or closing. More...

#include <vtkImageOpenClose3D.h>

Inheritance diagram for vtkImageOpenClose3D:
Inheritance graph
[legend]
Collaboration diagram for vtkImageOpenClose3D:
Collaboration graph
[legend]

List of all members.

Public Member Functions

unsigned long int GetMTime ()
void Modified ()
void SetKernelSize (int size0, int size1, int size2)
void DebugOn ()
void DebugOff ()
void SetOpenValue (double value)
double GetOpenValue ()
void SetCloseValue (double value)
double GetCloseValue ()
virtual vtkImageDilateErode3DGetFilter0 ()
virtual vtkImageDilateErode3DGetFilter1 ()
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)

Protected Member Functions

 vtkImageOpenClose3D ()
 ~vtkImageOpenClose3D ()
virtual void ReportReferences (vtkGarbageCollector *)

Protected Attributes

vtkImageDilateErode3DFilter0
vtkImageDilateErode3DFilter1
typedef vtkImageAlgorithm Superclass
static vtkImageOpenClose3DNew ()
static int IsTypeOf (const char *type)
static vtkImageOpenClose3DSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkImageOpenClose3DNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

Detailed Description

Will perform opening or closing.

vtkImageOpenClose3D performs opening or closing by having two vtkImageErodeDilates in series. The size of operation is determined by the method SetKernelSize, and the operator is an ellipse. OpenValue and CloseValue determine how the filter behaves. For binary images Opening and closing behaves as expected. Close value is first dilated, and then eroded. Open value is first eroded, and then dilated. Degenerate two dimensional opening/closing can be achieved by setting the one axis the 3D KernelSize to 1. Values other than open value and close value are not touched. This enables the filter to processes segmented images containing more than two tags.

Tests:
vtkImageOpenClose3D (Tests)

Definition at line 44 of file vtkImageOpenClose3D.h.


Member Typedef Documentation

Default open value is 0, and default close value is 255.

Reimplemented from vtkImageAlgorithm.

Definition at line 50 of file vtkImageOpenClose3D.h.


Constructor & Destructor Documentation


Member Function Documentation

Default open value is 0, and default close value is 255.

Reimplemented from vtkAlgorithm.

static int vtkImageOpenClose3D::IsTypeOf ( const char *  type) [static]

Default open value is 0, and default close value is 255.

Reimplemented from vtkImageAlgorithm.

virtual int vtkImageOpenClose3D::IsA ( const char *  type) [virtual]

Default open value is 0, and default close value is 255.

Reimplemented from vtkImageAlgorithm.

Default open value is 0, and default close value is 255.

Reimplemented from vtkImageAlgorithm.

virtual vtkObjectBase* vtkImageOpenClose3D::NewInstanceInternal ( ) const [protected, virtual]

Default open value is 0, and default close value is 255.

Reimplemented from vtkImageAlgorithm.

Default open value is 0, and default close value is 255.

Reimplemented from vtkImageAlgorithm.

void vtkImageOpenClose3D::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Default open value is 0, and default close value is 255.

Reimplemented from vtkImageAlgorithm.

unsigned long int vtkImageOpenClose3D::GetMTime ( ) [virtual]

This method considers the sub filters MTimes when computing this objects modified time.

Reimplemented from vtkObject.

void vtkImageOpenClose3D::DebugOn ( ) [virtual]

Turn debugging output on. (in sub filters also)

Reimplemented from vtkObject.

void vtkImageOpenClose3D::DebugOff ( ) [virtual]

Turn debugging output on. (in sub filters also)

Reimplemented from vtkObject.

void vtkImageOpenClose3D::Modified ( ) [virtual]

Pass modified message to sub filters.

Reimplemented from vtkObject.

void vtkImageOpenClose3D::SetKernelSize ( int  size0,
int  size1,
int  size2 
)

Selects the size of gaps or objects removed.

Determines the value that will opened. Open value is first eroded, and then dilated.

Determines the value that will opened. Open value is first eroded, and then dilated.

Determines the value that will closed. Close value is first dilated, and then eroded

Determines the value that will closed. Close value is first dilated, and then eroded

Needed for Progress functions

Needed for Progress functions

see vtkAlgorithm for details

Reimplemented from vtkImageAlgorithm.

virtual int vtkImageOpenClose3D::ComputePipelineMTime ( vtkInformation request,
vtkInformationVector **  inInfoVec,
vtkInformationVector outInfoVec,
int  requestFromOutputPort,
unsigned long *  mtime 
) [virtual]

Override to send the request to internal pipeline.

Reimplemented from vtkAlgorithm.

virtual void vtkImageOpenClose3D::ReportReferences ( vtkGarbageCollector ) [protected, virtual]

Reimplemented from vtkAlgorithm.


Member Data Documentation

Definition at line 113 of file vtkImageOpenClose3D.h.

Definition at line 114 of file vtkImageOpenClose3D.h.


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