Class Erode
- All Implemented Interfaces:
Provider<Mask>
,ProviderAsStack
Performs an erosion morphological operation on
BinaryVoxels
.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyMorphologicalOperation
(Mask source, boolean do3D) Applies the morphological operation to the source mask.Methods inherited from class org.anchoranalysis.plugin.image.bean.mask.provider.morphological.MorphologicalOperatorBase
createFromMask, getBackgroundChannelProvider, getIterations, getMinIntensityValue, isSuppress3D, precondition, setBackgroundChannelProvider, setIterations, setMinIntensityValue, setSuppress3D
Methods inherited from class org.anchoranalysis.image.bean.provider.MaskProviderUnary
get, getMask, setMask
Methods inherited from class org.anchoranalysis.image.bean.provider.MaskProvider
getAsStack
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Erode
public Erode()
-
-
Method Details
-
applyMorphologicalOperation
protected void applyMorphologicalOperation(Mask source, boolean do3D) throws ProvisionFailedException Description copied from class:MorphologicalOperatorBase
Applies the morphological operation to the source mask.- Specified by:
applyMorphologicalOperation
in classMorphologicalOperatorBase
- Parameters:
source
- the source mask to apply the operation todo3D
- whether to perform the operation in 3D- Throws:
ProvisionFailedException
- if the operation fails
-