Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageIslandRemoval2D, simply invoke its constructor as follows
obj = vtkImageIslandRemoval2D
obj
is an instance of the vtkImageIslandRemoval2D class.
string = obj.GetClassName ()
- Constructor: Sets default filter to be identity.
int = obj.IsA (string name)
- Constructor: Sets default filter to be identity.
vtkImageIslandRemoval2D = obj.NewInstance ()
- Constructor: Sets default filter to be identity.
vtkImageIslandRemoval2D = obj.SafeDownCast (vtkObject o)
- Constructor: Sets default filter to be identity.
obj.SetAreaThreshold (int )
- Set/Get the cutoff area for removal
int = obj.GetAreaThreshold ()
- Set/Get the cutoff area for removal
obj.SetSquareNeighborhood (int )
- Set/Get whether to use 4 or 8 neighbors
int = obj.GetSquareNeighborhood ()
- Set/Get whether to use 4 or 8 neighbors
obj.SquareNeighborhoodOn ()
- Set/Get whether to use 4 or 8 neighbors
obj.SquareNeighborhoodOff ()
- Set/Get whether to use 4 or 8 neighbors
obj.SetIslandValue (double )
- Set/Get the value to remove.
double = obj.GetIslandValue ()
- Set/Get the value to remove.
obj.SetReplaceValue (double )
- Set/Get the value to put in the place of removed pixels.
double = obj.GetReplaceValue ()
- Set/Get the value to put in the place of removed pixels.