16#ifndef vtkImageIslandRemoval2D_h
17#define vtkImageIslandRemoval2D_h
20#include "vtkImagingMorphologicalModule.h"
22VTK_ABI_NAMESPACE_BEGIN
48 vtkSetMacro(AreaThreshold,
int);
49 vtkGetMacro(AreaThreshold,
int);
65 vtkSetMacro(IslandValue,
double);
66 vtkGetMacro(IslandValue,
double);
73 vtkSetMacro(ReplaceValue,
double);
74 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
static vtkImageIslandRemoval2D * New()
Constructor: Sets default filter to be identity.
~vtkImageIslandRemoval2D() override=default
vtkImageIslandRemoval2D()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
a simple class to control print indentation