45#ifndef vtkImageIslandRemoval2D_h
46#define vtkImageIslandRemoval2D_h
49#include "vtkImagingMorphologicalModule.h"
51VTK_ABI_NAMESPACE_BEGIN
77 vtkSetMacro(AreaThreshold,
int);
78 vtkGetMacro(AreaThreshold,
int);
94 vtkSetMacro(IslandValue,
double);
95 vtkGetMacro(IslandValue,
double);
102 vtkSetMacro(ReplaceValue,
double);
103 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