34#ifndef vtkImageIslandRemoval2D_h
35#define vtkImageIslandRemoval2D_h
38#include "vtkImagingMorphologicalModule.h"
65 vtkSetMacro(AreaThreshold,
int);
66 vtkGetMacro(AreaThreshold,
int);
82 vtkSetMacro(IslandValue,
double);
83 vtkGetMacro(IslandValue,
double);
90 vtkSetMacro(ReplaceValue,
double);
91 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