Class GrayscaleReconstructionRobinson

Object
AnchorBean<GrayscaleReconstructionByErosion>
GrayscaleReconstructionByErosion
GrayscaleReconstructionRobinson

public class GrayscaleReconstructionRobinson extends GrayscaleReconstructionByErosion
Implements grayscale reconstruction using Robinson's algorithm.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    VoxelsUntyped
    reconstruction(VoxelsUntyped mask, VoxelsUntyped marker, Optional<ObjectMask> containingMask)
    Performs grayscale reconstruction of a mask image from a marker image.

    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

    • GrayscaleReconstructionRobinson

      public GrayscaleReconstructionRobinson()
  • Method Details

    • reconstruction

      public VoxelsUntyped reconstruction(VoxelsUntyped mask, VoxelsUntyped marker, Optional<ObjectMask> containingMask)
      Description copied from class: GrayscaleReconstructionByErosion
      Performs grayscale reconstruction of a mask image from a marker image.

      The reconstruction is performed such that mask <= markerImg, but only inside the containingMask (if provided).

      Specified by:
      reconstruction in class GrayscaleReconstructionByErosion
      Parameters:
      mask - the VoxelsUntyped representing the mask image
      marker - the VoxelsUntyped representing the marker image
      containingMask - an optional ObjectMask that limits the reconstruction to a specific region
      Returns:
      the reconstructed VoxelsUntyped