Class AreaOpeningImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.AreaOpeningImageFilter
Morphological opening by attributes.
An attribute opening removes blobs according to criteria such as area.
When applied to grayscale images they have the effect of trimming
peaks (regions brighter than their surroundings) based on area while
leaving the rest of the image unchanged.
This code was contributed in the Insight Journal paper
"Grayscale morphological attribute operations" by Beare R. https://doi.org/10.54294/ifvjls
Richard Beare. Department of Medicine, Monash University, Melbourne,
Australia.
See:
itk::simple::AreaOpening for the procedural interface
itk::AreaOpeningImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkAreaOpeningImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::AreaOpeningImageFilter::AreaOpeningImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedAreaOpeningImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::AreaOpeningImageFilter::~AreaOpeningImageFilter() DestructorImage itk::simple::AreaOpeningImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::AreaOpeningImageFilter::FullyConnectedOff()voidSelf& itk::simple::AreaOpeningImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.protected static longbooleanbool itk::simple::AreaOpeningImageFilter::GetFullyConnected() constdoubledouble itk::simple::AreaOpeningImageFilter::GetLambda() constgetName()std::string itk::simple::AreaOpeningImageFilter::GetName() const Name of this classbooleanbool itk::simple::AreaOpeningImageFilter::GetUseImageSpacing() const Set/Get whether the image spacing is used or not - defaults to true.voidsetFullyConnected(boolean FullyConnected) Self& itk::simple::AreaOpeningImageFilter::SetFullyConnected(bool FullyConnected)voidsetLambda(double Lambda) Self& itk::simple::AreaOpeningImageFilter::SetLambda(double Lambda) The size of the area opening.voidsetUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::AreaOpeningImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether the image spacing is used or not - defaults to true.protected static longtoString()std::string itk::simple::AreaOpeningImageFilter::ToString() const Print ourselves outvoidSelf& itk::simple::AreaOpeningImageFilter::UseImageSpacingOff()voidSelf& itk::simple::AreaOpeningImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.Methods inherited from class org.itk.simple.ImageFilter
getCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObject
abort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
-
Constructor Details
-
AreaOpeningImageFilter
protected AreaOpeningImageFilter(long cPtr, boolean cMemoryOwn) -
AreaOpeningImageFilter
public AreaOpeningImageFilter()itk::simple::AreaOpeningImageFilter::AreaOpeningImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::AreaOpeningImageFilter::~AreaOpeningImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setLambda
public void setLambda(double Lambda) Self& itk::simple::AreaOpeningImageFilter::SetLambda(double Lambda) The size of the area opening. -
getLambda
public double getLambda()double itk::simple::AreaOpeningImageFilter::GetLambda() const -
setUseImageSpacing
public void setUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::AreaOpeningImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether the image spacing is used or not - defaults to true. -
useImageSpacingOn
public void useImageSpacingOn()Self& itk::simple::AreaOpeningImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully. -
useImageSpacingOff
public void useImageSpacingOff()Self& itk::simple::AreaOpeningImageFilter::UseImageSpacingOff() -
getUseImageSpacing
public boolean getUseImageSpacing()bool itk::simple::AreaOpeningImageFilter::GetUseImageSpacing() const Set/Get whether the image spacing is used or not - defaults to true. -
setFullyConnected
public void setFullyConnected(boolean FullyConnected) Self& itk::simple::AreaOpeningImageFilter::SetFullyConnected(bool FullyConnected) -
fullyConnectedOn
public void fullyConnectedOn()Self& itk::simple::AreaOpeningImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully. -
fullyConnectedOff
public void fullyConnectedOff()Self& itk::simple::AreaOpeningImageFilter::FullyConnectedOff() -
getFullyConnected
public boolean getFullyConnected()bool itk::simple::AreaOpeningImageFilter::GetFullyConnected() const -
getName
std::string itk::simple::AreaOpeningImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::AreaOpeningImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-