Class SplitByObjects
- All Implemented Interfaces:
Provider<ObjectCollection>
Splits objects in a collection based on intersections with another set of objects.
This class extends WithDimensionsBase to provide functionality for splitting objects
in one collection based on their intersections with objects in another collection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFromObjects(ObjectCollection objectCollection) Creates aObjectCollectiongiven the entity provided by the delegate.Provider for the collection of objects used to split the input objects.voidsetObjectsSplitBy(ObjectCollectionProvider objectsSplitBy) Provider for the collection of objects used to split the input objects.Methods 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
-
SplitByObjects
public SplitByObjects()
-
-
Method Details
-
createFromObjects
public ObjectCollection createFromObjects(ObjectCollection objectCollection) throws ProvisionFailedException Description copied from class:ObjectCollectionProviderUnaryCreates aObjectCollectiongiven the entity provided by the delegate.- Specified by:
createFromObjectsin classObjectCollectionProviderUnary- Parameters:
objectCollection- the entity provided by the delegate.- Returns:
- the created
ObjectCollectionthat is returned by the provider. - Throws:
ProvisionFailedException- if the provider cannot complete successfully.
-
getObjectsSplitBy
Provider for the collection of objects used to split the input objects. -
setObjectsSplitBy
Provider for the collection of objects used to split the input objects.
-