25 #ifndef vtkImageIslandRemoval2D_h
26 #define vtkImageIslandRemoval2D_h
29 #include "vtkImagingMorphologicalModule.h"
55 vtkSetMacro(AreaThreshold,
int);
56 vtkGetMacro(AreaThreshold,
int);
72 vtkSetMacro(IslandValue,
double);
73 vtkGetMacro(IslandValue,
double);
80 vtkSetMacro(ReplaceValue,
double);
81 vtkGetMacro(ReplaceValue,
double);
Generic algorithm superclass for image algs.
Removes small clusters in masks.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool SquareNeighborhood
~vtkImageIslandRemoval2D() override
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