Documentation for vtkImageOpenClose3D

vtkImageOpenClose3D - Will perform opening or closing.

Super Class: vtkImageFilter

Description:

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 elispe. 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 dimesional opening/closing can be achieved by seting 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 segemented images containing more than two tags.

 

Methods:

void vtkImageOpenClose3D ()
void vtkImageOpenClose3D ()
static vtkImageOpenClose3D *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
unsigned long GetMTime ()
void DebugOn ()
void Modified ()
void SetCache (vtkImageCache *)
vtkImageCache *GetCache ()
vtkImageCache *GetOutput ()
unsigned long GetPipelineMTime ()
void SetInput (vtkImageCache *)
void SetInput (vtkStructuredPoints *)
void SetKernelSize (int ,int ,int )
void SetOpenValue (float )
float GetOpenValue ()
void SetCloseValue (float )
float GetCloseValue ()
vtkImageDilateErode3D *GetFilter0 ()
vtkImageDilateErode3D *GetFilter1 ()

 

Detailed Method Descriptions:

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

void vtkImageOpenClose3D ()

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

unsigned long GetMTime ()

Turn debugging output on. (in sub filters also)

void DebugOn ()

Pass modified message to sub filters.

void Modified ()

This method sets the cache object of the filter. It justs feeds the request to the sub filter.

void SetCache (vtkImageCache *)

This method returns the l;ast cache of the internal pipline.

vtkImageCache *GetCache ()

This method returns the cache to make a connection It justs feeds the request to the sub filter.

vtkImageCache *GetOutput ()

A method used internally, which is part of the vtkImageFilter API. Return the maximum MTime of this filter, and all of the previous filters in the pipline.

unsigned long GetPipelineMTime ()

Set the Input of the filter.

void SetInput (vtkImageCache *)

Selects the size of gaps or objects removed.

void SetInput (vtkStructuredPoints *)
void SetKernelSize (int ,int ,int )

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

void SetOpenValue (float )
float GetOpenValue ()

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

void SetCloseValue (float )
float GetCloseValue ()

Needed for Progress functions

vtkImageDilateErode3D *GetFilter0 ()
vtkImageDilateErode3D *GetFilter1 ()