Class Dilate
- All Implemented Interfaces:
Provider<ObjectCollection>
Dilates each object in the collection, growing bounding-boxes as necessary in relevant
dimensions.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectMask
applyMorphologicalOperation
(ObjectMask object, Optional<Extent> extent) Applies the morphological operation to a singleObjectMask
.boolean
void
setBigNeighborhood
(boolean bigNeighborhood) Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.morphological.ObjectCollectionProviderMorphological
createFromObjects, deriveExtent, getIterations, isDo3D, setDo3D, setIterations
Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithOptionalDimensionsBase
createDims, getDimensions, setDimensions
Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
get, getObjects, setObjects
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
-
Dilate
public Dilate()
-
-
Method Details
-
applyMorphologicalOperation
protected ObjectMask applyMorphologicalOperation(ObjectMask object, Optional<Extent> extent) throws ProvisionFailedException Description copied from class:ObjectCollectionProviderMorphological
Applies the morphological operation to a singleObjectMask
.- Specified by:
applyMorphologicalOperation
in classObjectCollectionProviderMorphological
- Parameters:
object
- the object to apply the operation toextent
- optional extent to constrain the operation- Returns:
- the resulting object after applying the operation
- Throws:
ProvisionFailedException
- if the operation fails
-
isBigNeighborhood
public boolean isBigNeighborhood() -
setBigNeighborhood
public void setBigNeighborhood(boolean bigNeighborhood)
-