Class FromMask

Object
AnchorBean<ObjectCollectionProvider>
InitializableBean<ObjectCollectionProvider, ImageInitialization>
ImageBean<ObjectCollectionProvider>
ObjectCollectionProvider
FromMask
All Implemented Interfaces:
Provider<ObjectCollection>

public class FromMask extends ObjectCollectionProvider
Converts a binary-mask to an object-collection (containing a single object)
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ObjectCollection
    get()
     
    Provider<Mask>
     
    void
    setMask(Provider<Mask> mask)
     

    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

    • FromMask

      public FromMask()
  • Method Details

    • get

      public ObjectCollection get() throws ProvisionFailedException
      Throws:
      ProvisionFailedException
    • getMask

      public Provider<Mask> getMask()
    • setMask

      public void setMask(Provider<Mask> mask)