Class ConnectedComponentsFromBinarySegmentation

Object
AnchorBean<SegmentChannelIntoObjects>
InitializableBean<SegmentChannelIntoObjects, ImageInitialization>
ImageBean<SegmentChannelIntoObjects>
SegmentationBean<SegmentChannelIntoObjects>
SegmentChannelIntoObjects
ConnectedComponentsFromBinarySegmentation

public class ConnectedComponentsFromBinarySegmentation extends SegmentChannelIntoObjects
Performs a binary-segmentation of the channel and converts its connected-components into objects
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    BinarySegmentation
     
    ObjectCollection
    segment(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds)
     
    void
    setMinNumberVoxels(int minNumberVoxels)
     
    void
    setSegment(BinarySegmentation segment)
     

    Methods inherited from class org.anchoranalysis.image.bean.segment.object.SegmentChannelIntoObjects

    checkUnsupported3D, checkUnsupportedObjectMask, checkUnsupportedSeeds

    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

    • ConnectedComponentsFromBinarySegmentation

      public ConnectedComponentsFromBinarySegmentation()
  • Method Details

    • segment

      public ObjectCollection segment(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds) throws SegmentationFailedException
      Specified by:
      segment in class SegmentChannelIntoObjects
      Throws:
      SegmentationFailedException
    • getSegment

      public BinarySegmentation getSegment()
    • setSegment

      public void setSegment(BinarySegmentation segment)
    • getMinNumberVoxels

      public int getMinNumberVoxels()
    • setMinNumberVoxels

      public void setMinNumberVoxels(int minNumberVoxels)