25#ifndef vtkImageIslandRemoval2D_h
26#define vtkImageIslandRemoval2D_h
29#include "vtkImagingMorphologicalModule.h"
56 vtkSetMacro(AreaThreshold,
int);
57 vtkGetMacro(AreaThreshold,
int);
73 vtkSetMacro(IslandValue,
double);
74 vtkGetMacro(IslandValue,
double);
81 vtkSetMacro(ReplaceValue,
double);
82 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