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 SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::AreaOpeningImageFilter::AreaOpeningImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedAreaOpeningImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier 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.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, 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- 
AreaOpeningImageFilterprotected AreaOpeningImageFilter(long cPtr, boolean cMemoryOwn) 
- 
AreaOpeningImageFilterpublic AreaOpeningImageFilter()itk::simple::AreaOpeningImageFilter::AreaOpeningImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::AreaOpeningImageFilter::~AreaOpeningImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setLambdapublic void setLambda(double Lambda) Self& itk::simple::AreaOpeningImageFilter::SetLambda(double Lambda) The size of the area opening.
- 
getLambdapublic double getLambda()double itk::simple::AreaOpeningImageFilter::GetLambda() const
- 
setUseImageSpacingpublic void setUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::AreaOpeningImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether the image spacing is used or not - defaults to true.
- 
useImageSpacingOnpublic void useImageSpacingOn()Self& itk::simple::AreaOpeningImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.
- 
useImageSpacingOffpublic void useImageSpacingOff()Self& itk::simple::AreaOpeningImageFilter::UseImageSpacingOff()
- 
getUseImageSpacingpublic boolean getUseImageSpacing()bool itk::simple::AreaOpeningImageFilter::GetUseImageSpacing() const Set/Get whether the image spacing is used or not - defaults to true.
- 
setFullyConnectedpublic void setFullyConnected(boolean FullyConnected) Self& itk::simple::AreaOpeningImageFilter::SetFullyConnected(bool FullyConnected)
- 
fullyConnectedOnpublic void fullyConnectedOn()Self& itk::simple::AreaOpeningImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.
- 
fullyConnectedOffpublic void fullyConnectedOff()Self& itk::simple::AreaOpeningImageFilter::FullyConnectedOff()
- 
getFullyConnectedpublic boolean getFullyConnected()bool itk::simple::AreaOpeningImageFilter::GetFullyConnected() const
- 
getNamestd::string itk::simple::AreaOpeningImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::AreaOpeningImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-