47 #ifndef vtkImageIslandRemoval2D_h
48 #define vtkImageIslandRemoval2D_h
51 #include "vtkImagingMorphologicalModule.h"
78 vtkSetMacro(AreaThreshold,
int);
79 vtkGetMacro(AreaThreshold,
int);
95 vtkSetMacro(IslandValue,
double);
96 vtkGetMacro(IslandValue,
double);
103 vtkSetMacro(ReplaceValue,
double);
104 vtkGetMacro(ReplaceValue,
double);
Generic algorithm superclass for image algs.
Removes small clusters in masks.
void PrintSelf(ostream &os, vtkIndent indent) override
Constructor: Sets default filter to be identity.
vtkTypeBool SquareNeighborhood
~vtkImageIslandRemoval2D() override=default
vtkImageIslandRemoval2D()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
static vtkImageIslandRemoval2D * New()
Constructor: Sets default filter to be identity.
a simple class to control print indentation