Class SplitByObjects

Object
AnchorBean<ObjectCollectionProvider>
InitializableBean<ObjectCollectionProvider, ImageInitialization>
ImageBean<ObjectCollectionProvider>
ObjectCollectionProvider
ObjectCollectionProviderUnary
WithDimensionsBase
SplitByObjects
All Implemented Interfaces:
Provider<ObjectCollection>

public class SplitByObjects extends WithDimensionsBase
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ObjectCollection
    createFromObjects(ObjectCollection objectCollection)
     
    ObjectCollectionProvider
    Provider for the collection of objects used to split the input objects.
    void
    setObjectsSplitBy(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, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SplitByObjects

      public SplitByObjects()
  • Method Details

    • createFromObjects

      public ObjectCollection createFromObjects(ObjectCollection objectCollection) throws ProvisionFailedException
      Specified by:
      createFromObjects in class ObjectCollectionProviderUnary
      Throws:
      ProvisionFailedException
    • getObjectsSplitBy

      public ObjectCollectionProvider getObjectsSplitBy()
      Provider for the collection of objects used to split the input objects.
    • setObjectsSplitBy

      public void setObjectsSplitBy(ObjectCollectionProvider objectsSplitBy)
      Provider for the collection of objects used to split the input objects.