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 aObjectCollectiongiven the entity provided by the delegate.booleanIf true, throws an error if there is a disconnected object after the erosionvoidsetErrorDisconnectedObjects(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, setDimensionsMethods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
get, getObjects, setObjectsMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods 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:ObjectCollectionProviderUnaryCreates aObjectCollectiongiven the entity provided by the delegate.- Specified by:
createFromObjectsin classObjectCollectionProviderUnary- Parameters:
objects- the entity provided by the delegate.- Returns:
- the created
ObjectCollectionthat 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
-