#include <vtkImageIslandRemoval2D.h>
Inheritance diagram for vtkImageIslandRemoval2D:
vtkImageIslandRemoval2D computes the area of separate islands in a mask image. It removes any island that has less than AreaThreshold pixels. Output has the same ScalarType as input. It generates the whole 2D output image for any output request.
Definition at line 42 of file vtkImageIslandRemoval2D.h.
typedef vtkImageAlgorithm | Superclass |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
static vtkImageIslandRemoval2D * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageIslandRemoval2D * | SafeDownCast (vtkObject *o) |
Public Member Functions | |
virtual void | SetAreaThreshold (int) |
virtual int | GetAreaThreshold () |
virtual void | SetSquareNeighborhood (int) |
virtual int | GetSquareNeighborhood () |
virtual void | SquareNeighborhoodOn () |
virtual void | SquareNeighborhoodOff () |
virtual void | SetIslandValue (double) |
virtual double | GetIslandValue () |
virtual void | SetReplaceValue (double) |
virtual double | GetReplaceValue () |
Protected Member Functions | |
vtkImageIslandRemoval2D () | |
~vtkImageIslandRemoval2D () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | AreaThreshold |
int | SquareNeighborhood |
double | IslandValue |
double | ReplaceValue |
|
Reimplemented from vtkImageAlgorithm. Definition at line 48 of file vtkImageIslandRemoval2D.h. |
|
|
|
Definition at line 79 of file vtkImageIslandRemoval2D.h. |
|
Constructor: Sets default filter to be identity. Reimplemented from vtkAlgorithm. |
|
Reimplemented from vtkImageAlgorithm. |
|
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 vtkImageAlgorithm. |
|
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 vtkImageAlgorithm. |
|
Reimplemented from vtkImageAlgorithm. |
|
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 vtkImageAlgorithm. |
|
Set/Get the cutoff area for removal |
|
Set/Get the cutoff area for removal |
|
Set/Get whether to use 4 or 8 neighbors |
|
Set/Get whether to use 4 or 8 neighbors |
|
Set/Get whether to use 4 or 8 neighbors |
|
Set/Get whether to use 4 or 8 neighbors |
|
Set/Get the value to remove. |
|
Set/Get the value to remove. |
|
Set/Get the value to put in the place of removed pixels. |
|
Set/Get the value to put in the place of removed pixels. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkImageAlgorithm. |
|
Definition at line 79 of file vtkImageIslandRemoval2D.h. |
|
Definition at line 82 of file vtkImageIslandRemoval2D.h. |
|
Definition at line 83 of file vtkImageIslandRemoval2D.h. |
|
Definition at line 84 of file vtkImageIslandRemoval2D.h. |