Class RemoveIntersectingVoxels
- All Implemented Interfaces:
Provider<ObjectCollection>
Considers all possible pairs of objects in a provider, and removes any intersecting pixels
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFromObjects
(ObjectCollection objects) Creates aObjectCollection
given the entity provided by the delegate.boolean
If true, throws an error if there is a disconnected object after the erosionvoid
setErrorDisconnectedObjects
(boolean errorDisconnectedObjects) If true, throws an error if there is a disconnected object after the erosionMethods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithDimensionsBase
createDimensions, 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
-
RemoveIntersectingVoxels
public RemoveIntersectingVoxels()
-
-
Method Details
-
createFromObjects
Description copied from class:ObjectCollectionProviderUnary
Creates aObjectCollection
given the entity provided by the delegate.- Specified by:
createFromObjects
in classObjectCollectionProviderUnary
- Parameters:
objects
- the entity provided by the delegate.- Returns:
- the created
ObjectCollection
that is returned by the provider. - Throws:
ProvisionFailedException
- if the provider cannot complete successfully.
-
isErrorDisconnectedObjects
public boolean isErrorDisconnectedObjects()If true, throws an error if there is a disconnected object after the erosion -
setErrorDisconnectedObjects
public void setErrorDisconnectedObjects(boolean errorDisconnectedObjects) If true, throws an error if there is a disconnected object after the erosion
-