#include <vtkImageOpenClose3D.h>
Inheritance diagram for vtkImageOpenClose3D:
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.
Definition at line 43 of file vtkImageOpenClose3D.h.
[NOHEADER] | |
typedef vtkImageToImageFilter | Superclass |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkImageOpenClose3D * | New () |
int | IsTypeOf (const char *type) |
vtkImageOpenClose3D * | SafeDownCast (vtkObject *o) |
Public Member Functions | |
unsigned long int | GetMTime () |
void | Modified () |
void | SetInput (vtkImageData *Input) |
void | SetKernelSize (int size0, int size1, int size2) |
void | DebugOn () |
void | DebugOff () |
vtkImageData * | GetOutput () |
vtkImageData * | GetOutput (int idx) |
void | SetOpenValue (double value) |
double | GetOpenValue () |
void | SetCloseValue (double value) |
double | GetCloseValue () |
virtual vtkImageDilateErode3D * | GetFilter0 () |
virtual vtkImageDilateErode3D * | GetFilter1 () |
Protected Member Functions | |
vtkImageOpenClose3D () | |
~vtkImageOpenClose3D () | |
Protected Attributes | |
vtkImageDilateErode3D * | Filter0 |
vtkImageDilateErode3D * | Filter1 |
|
Reimplemented from vtkImageToImageFilter. Definition at line 49 of file vtkImageOpenClose3D.h. |
|
|
|
|
|
Default open value is 0, and default close value is 255. Reimplemented from vtkObject.
|
|
Reimplemented from vtkImageToImageFilter.
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImageToImageFilter.
|
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImageToImageFilter.
|
|
Reimplemented from vtkImageToImageFilter.
|
|
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 vtkImageToImageFilter.
|
|
This method considers the sub filters MTimes when computing this objects modified time. Reimplemented from vtkObject.
|
|
Turn debugging output on. (in sub filters also) Reimplemented from vtkObject.
|
|
Turn debugging output on. (in sub filters also) Reimplemented from vtkObject.
|
|
Pass modified message to sub filters. Reimplemented from vtkObject.
|
|
This method returns the cache to make a connection It justs feeds the request to the sub filter. Reimplemented from vtkImageSource.
|
|
This method returns the cache to make a connection It justs feeds the request to the sub filter. Reimplemented from vtkImageSource. Definition at line 72 of file vtkImageOpenClose3D.h. References vtkImageSource::GetOutput(). |
|
Set the Input of the filter. Reimplemented from vtkImageToImageFilter.
|
|
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 |
|
Definition at line 111 of file vtkImageOpenClose3D.h. |
|
Definition at line 112 of file vtkImageOpenClose3D.h. |