Class BinarySegmentByObject

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

public class BinarySegmentByObject extends UnaryWithChannelBase
Performs a binary-segmentation using the upstream objects as masks.

Note that if there is more than one upstream object, multiple segmentations occur (one for each mask) and are then combined.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected ObjectCollection
    createFromObjects(ObjectCollection objectsSource, Channel channelSource)
    Creates objects from a source collection and a channel.
    BinarySegmentation
     
    void
    setBinarySgmn(BinarySegmentation binarySgmn)
     

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

    createFromObjects, getChannel, setChannel

    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

    • BinarySegmentByObject

      public BinarySegmentByObject()
  • Method Details

    • createFromObjects

      protected ObjectCollection createFromObjects(ObjectCollection objectsSource, Channel channelSource) throws ProvisionFailedException
      Description copied from class: UnaryWithChannelBase
      Creates objects from a source collection and a channel.
      Specified by:
      createFromObjects in class UnaryWithChannelBase
      Parameters:
      objectsSource - the source object collection
      channelSource - the source channel
      Returns:
      the newly created object collection
      Throws:
      ProvisionFailedException - if object creation fails
    • getBinarySgmn

      public BinarySegmentation getBinarySgmn()
    • setBinarySgmn

      public void setBinarySgmn(BinarySegmentation binarySgmn)