Class RemoveIntersectingVoxels

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

public class RemoveIntersectingVoxels extends WithDimensionsBase
Considers all possible pairs of objects in a provider, and removes any intersecting pixels
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ObjectCollection
    createFromObjects(ObjectCollection objects)
     
    boolean
    If true, throws an error if there is a disconnected object after the erosion
    void
    setErrorDisconnectedObjects(boolean errorDisconnectedObjects)
    If true, throws an error if there is a disconnected object after the erosion

    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

    • RemoveIntersectingVoxels

      public RemoveIntersectingVoxels()
  • Method Details

    • createFromObjects

      public ObjectCollection createFromObjects(ObjectCollection objects) throws ProvisionFailedException
      Specified by:
      createFromObjects in class ObjectCollectionProviderUnary
      Throws:
      ProvisionFailedException
    • 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