Documentation for vtkImageIslandRemoval2D

vtkImageIslandRemoval2D - Removes small clusters in masks.

Super Class: vtkImageFilter

Description:

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.

 

Methods:

void vtkImageIslandRemoval2D ()
static vtkImageIslandRemoval2D *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetAreaThreshold (int )
int GetAreaThreshold ()
void SetSquareNeighborhood (int )
int GetSquareNeighborhood ()
void SquareNeighborhoodOn ()
void SquareNeighborhoodOff ()
void SetIslandValue (float )
float GetIslandValue ()
void SetReplaceValue (float )
float GetReplaceValue ()
void InterceptCacheUpdate ()
void Execute (vtkImageData * ,vtkImageData *)

 

Detailed Method Descriptions:

Constructor: Sets default filter to be identity.

void vtkImageIslandRemoval2D ()

Set/Get the cutoff area for removal

void SetAreaThreshold (int )
int GetAreaThreshold ()

Set/Get whether to use 4 or 8 neighbors

void SetSquareNeighborhood (int )
int GetSquareNeighborhood ()
void SquareNeighborhoodOn ()
void SquareNeighborhoodOff ()

Set/Get the value to remove.

void SetIslandValue (float )
float GetIslandValue ()

Set/Get the value to put in the place of removed pixels.

void SetReplaceValue (float )
float GetReplaceValue ()

Intercepts the caches Update to make the region larger than requested. The whole image is generated when any region is requested.

void InterceptCacheUpdate ()