#include <vtkImageIslandRemoval2D.h>
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 |
static vtkImageIslandRemoval2D * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageIslandRemoval2D * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
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 |
Constructor: Sets default filter to be identity.
Reimplemented from vtkImageAlgorithm.
Definition at line 48 of file vtkImageIslandRemoval2D.h.
vtkImageIslandRemoval2D::vtkImageIslandRemoval2D | ( | ) | [protected] |
vtkImageIslandRemoval2D::~vtkImageIslandRemoval2D | ( | ) | [inline, protected] |
Definition at line 79 of file vtkImageIslandRemoval2D.h.
static vtkImageIslandRemoval2D* vtkImageIslandRemoval2D::New | ( | ) | [static] |
Constructor: Sets default filter to be identity.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageIslandRemoval2D::GetClassName | ( | ) | [virtual] |
Constructor: Sets default filter to be identity.
Reimplemented from vtkImageAlgorithm.
static int vtkImageIslandRemoval2D::IsTypeOf | ( | const char * | type | ) | [static] |
Constructor: Sets default filter to be identity.
Reimplemented from vtkImageAlgorithm.
virtual int vtkImageIslandRemoval2D::IsA | ( | const char * | type | ) | [virtual] |
Constructor: Sets default filter to be identity.
Reimplemented from vtkImageAlgorithm.
static vtkImageIslandRemoval2D* vtkImageIslandRemoval2D::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Constructor: Sets default filter to be identity.
Reimplemented from vtkImageAlgorithm.
void vtkImageIslandRemoval2D::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Constructor: Sets default filter to be identity.
Reimplemented from vtkImageAlgorithm.
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 * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkImageAlgorithm.
int vtkImageIslandRemoval2D::AreaThreshold [protected] |
Definition at line 79 of file vtkImageIslandRemoval2D.h.
int vtkImageIslandRemoval2D::SquareNeighborhood [protected] |
Definition at line 82 of file vtkImageIslandRemoval2D.h.
double vtkImageIslandRemoval2D::IslandValue [protected] |
Definition at line 83 of file vtkImageIslandRemoval2D.h.
double vtkImageIslandRemoval2D::ReplaceValue [protected] |
Definition at line 84 of file vtkImageIslandRemoval2D.h.