Class MinimaImposition

Object
AnchorBean<MinimaImposition>
MinimaImposition
Direct Known Subclasses:
MinimaImpositionGrayscaleReconstruction

public abstract class MinimaImposition extends AnchorBean<MinimaImposition>
Abstract base class for imposing minima on a channel for watershed segmentation.

This class provides a framework for different strategies of imposing minima on a channel, which is a crucial step in watershed-based segmentation algorithms.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract Channel
    imposeMinima(Channel channel, ObjectCollection seeds, Optional<ObjectMask> containingMask)
    Imposes minima on a channel based on seed objects and an optional containing mask.

    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

    • MinimaImposition

      public MinimaImposition()
  • Method Details

    • imposeMinima

      public abstract Channel imposeMinima(Channel channel, ObjectCollection seeds, Optional<ObjectMask> containingMask) throws OperationFailedException
      Imposes minima on a channel based on seed objects and an optional containing mask.
      Parameters:
      channel - the Channel on which to impose minima
      seeds - the ObjectCollection representing seed objects for minima
      containingMask - an optional ObjectMask that constrains the area where minima can be imposed
      Returns:
      a new Channel with imposed minima
      Throws:
      OperationFailedException - if the minima imposition operation fails