Class LabelBoundariesLabeling2D.Result

java.lang.Object
inra.ijpb.label.conncomp.LabelBoundariesLabeling2D.Result
Enclosing class:
LabelBoundariesLabeling2D

public class LabelBoundariesLabeling2D.Result
extends java.lang.Object
Provides the result of a boundary labeling. Contains the label map, and the set of boundaries as a BoundarySet instance. For 2D images and default neighborhood, the number of adjacent regions associated to boundaries may equal two, three (corner boundary), or in some cases four ("square corner").
  • Field Summary

    Fields
    Modifier and Type Field Description
    BoundarySet boundaries
    The map between the label of a boundary and the Boundary instances that store indices of adjacent regions.
    ij.process.ImageProcessor boundaryLabelMap
    The label map containing boundary labels or zero for non-label pixels.
  • Constructor Summary

    Constructors
    Constructor Description
    Result​(ij.process.ImageProcessor labelMap)
    Initializes a new Result instance from a boundary label map.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • boundaryLabelMap

      public final ij.process.ImageProcessor boundaryLabelMap
      The label map containing boundary labels or zero for non-label pixels.
    • boundaries

      public final BoundarySet boundaries
      The map between the label of a boundary and the Boundary instances that store indices of adjacent regions.
  • Constructor Details

    • Result

      public Result​(ij.process.ImageProcessor labelMap)
      Initializes a new Result instance from a boundary label map.
      Parameters:
      labelMap - the label map of boundaries.