Class SegmentWithSeeds

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

public class SegmentWithSeeds extends WithChannelBase
Takes each object one-by-one from objectsSource, and finds matching seeds from objectsSeeds
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected ObjectCollection
    createFromChannel(Channel channel)
    Creates an ObjectCollection from a source Channel.
    ObjectCollectionProvider
     
    ObjectCollectionProvider
     
    SegmentChannelIntoObjects
     
    void
    setObjectsSeeds(ObjectCollectionProvider objectsSeeds)
     
    void
    setObjectsSource(ObjectCollectionProvider objectsSource)
     
    void
    setSegment(SegmentChannelIntoObjects segment)
     

    Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithChannelBase

    get, getChannel, setChannel

    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

    • SegmentWithSeeds

      public SegmentWithSeeds()
  • Method Details

    • createFromChannel

      protected ObjectCollection createFromChannel(Channel channel) throws ProvisionFailedException
      Description copied from class: WithChannelBase
      Creates an ObjectCollection from a source Channel.
      Specified by:
      createFromChannel in class WithChannelBase
      Parameters:
      channel - the source channel
      Returns:
      the created object collection
      Throws:
      ProvisionFailedException - if object creation fails
    • getObjectsSource

      public ObjectCollectionProvider getObjectsSource()
    • setObjectsSource

      public void setObjectsSource(ObjectCollectionProvider objectsSource)
    • getObjectsSeeds

      public ObjectCollectionProvider getObjectsSeeds()
    • setObjectsSeeds

      public void setObjectsSeeds(ObjectCollectionProvider objectsSeeds)
    • getSegment

      public SegmentChannelIntoObjects getSegment()
    • setSegment

      public void setSegment(SegmentChannelIntoObjects segment)