Removes small clusters in masks.
More...
#include <vtkImageIslandRemoval2D.h>
Inherits vtkImageAlgorithm.
Removes small clusters in masks.
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.
- Tests:
- vtkImageIslandRemoval2D (Tests)
Definition at line 43 of file vtkImageIslandRemoval2D.h.
vtkImageIslandRemoval2D::vtkImageIslandRemoval2D |
( |
| ) |
|
|
protected |
vtkImageIslandRemoval2D::~vtkImageIslandRemoval2D |
( |
| ) |
|
|
inlineprotected |
Constructor: Sets default filter to be identity.
static int vtkImageIslandRemoval2D::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
Constructor: Sets default filter to be identity.
virtual int vtkImageIslandRemoval2D::IsA |
( |
const char * |
type | ) |
|
|
virtual |
Constructor: Sets default filter to be identity.
Constructor: Sets default filter to be identity.
virtual vtkObjectBase* vtkImageIslandRemoval2D::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
Constructor: Sets default filter to be identity.
Constructor: Sets default filter to be identity.
void vtkImageIslandRemoval2D::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Constructor: Sets default filter to be identity.
virtual void vtkImageIslandRemoval2D::SetAreaThreshold |
( |
int |
| ) |
|
|
virtual |
Set/Get the cutoff area for removal
virtual int vtkImageIslandRemoval2D::GetAreaThreshold |
( |
| ) |
|
|
virtual |
Set/Get the cutoff area for removal
virtual void vtkImageIslandRemoval2D::SetSquareNeighborhood |
( |
int |
| ) |
|
|
virtual |
Set/Get whether to use 4 or 8 neighbors
virtual int vtkImageIslandRemoval2D::GetSquareNeighborhood |
( |
| ) |
|
|
virtual |
Set/Get whether to use 4 or 8 neighbors
virtual void vtkImageIslandRemoval2D::SquareNeighborhoodOn |
( |
| ) |
|
|
virtual |
Set/Get whether to use 4 or 8 neighbors
virtual void vtkImageIslandRemoval2D::SquareNeighborhoodOff |
( |
| ) |
|
|
virtual |
Set/Get whether to use 4 or 8 neighbors
virtual void vtkImageIslandRemoval2D::SetIslandValue |
( |
double |
| ) |
|
|
virtual |
Set/Get the value to remove.
virtual double vtkImageIslandRemoval2D::GetIslandValue |
( |
| ) |
|
|
virtual |
Set/Get the value to remove.
virtual void vtkImageIslandRemoval2D::SetReplaceValue |
( |
double |
| ) |
|
|
virtual |
Set/Get the value to put in the place of removed pixels.
virtual double vtkImageIslandRemoval2D::GetReplaceValue |
( |
| ) |
|
|
virtual |
Set/Get the value to put in the place of removed pixels.
virtual int vtkImageIslandRemoval2D::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
int vtkImageIslandRemoval2D::AreaThreshold |
|
protected |
int vtkImageIslandRemoval2D::SquareNeighborhood |
|
protected |
double vtkImageIslandRemoval2D::IslandValue |
|
protected |
double vtkImageIslandRemoval2D::ReplaceValue |
|
protected |
The documentation for this class was generated from the following file: