Class FloodFillEachIntensityLevel

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

public class FloodFillEachIntensityLevel extends SegmentChannelIntoObjects
Creates an object for each separate intensity-value (beginning at startingColor) by flood-filling.

This algorithm only works with 2D images.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Only objects whose bounding-box volume is greater or equal to this threshold are included.
    int
    The first intensity-value to consider as a valid object (e.g.
    ObjectCollection
    segment(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds)
     
    void
    setMinimumBoundingBoxVolume(int minimumBoundingBoxVolume)
    Only objects whose bounding-box volume is greater or equal to this threshold are included.
    void
    setStartingIntensity(int startingIntensity)
    The first intensity-value to consider as a valid object (e.g.

    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

    • FloodFillEachIntensityLevel

      public FloodFillEachIntensityLevel()
  • Method Details

    • segment

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

      public int getMinimumBoundingBoxVolume()
      Only objects whose bounding-box volume is greater or equal to this threshold are included. By default, all objects are included.
    • setMinimumBoundingBoxVolume

      public void setMinimumBoundingBoxVolume(int minimumBoundingBoxVolume)
      Only objects whose bounding-box volume is greater or equal to this threshold are included. By default, all objects are included.
    • getStartingIntensity

      public int getStartingIntensity()
      The first intensity-value to consider as a valid object (e.g. usually 0 is ignored as background).
    • setStartingIntensity

      public void setStartingIntensity(int startingIntensity)
      The first intensity-value to consider as a valid object (e.g. usually 0 is ignored as background).