Class ThresholdAgainstChannel

Object
AnchorBean<BinarySegmentation>
InitializableBean<BinarySegmentation, ImageInitialization>
ImageBean<BinarySegmentation>
SegmentationBean<BinarySegmentation>
BinarySegmentation
ThresholdAgainstChannel

public class ThresholdAgainstChannel extends BinarySegmentation
Thresholds each voxels by comparing against another channel that has per-voxel thresholds

It sets an output voxel as high, if it is greater than or equal to the pixel in the threshold channel

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ChannelProvider
     
    boolean
     
    BinaryVoxels<UnsignedByteBuffer>
    segment(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> object)
     
    void
    setChannelThreshold(ChannelProvider channelThreshold)
     
    void
    setClearOutsideMask(boolean clearOutsideMask)
     

    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

    • ThresholdAgainstChannel

      public ThresholdAgainstChannel()
  • Method Details

    • segment

      public BinaryVoxels<UnsignedByteBuffer> segment(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> object) throws SegmentationFailedException
      Specified by:
      segment in class BinarySegmentation
      Throws:
      SegmentationFailedException
    • getChannelThreshold

      public ChannelProvider getChannelThreshold()
    • setChannelThreshold

      public void setChannelThreshold(ChannelProvider channelThreshold)
    • isClearOutsideMask

      public boolean isClearOutsideMask()
    • setClearOutsideMask

      public void setClearOutsideMask(boolean clearOutsideMask)