Class MergeSmallRegions.Node

java.lang.Object
boofcv.alg.segmentation.ms.MergeSmallRegions.Node
Enclosing class:
MergeSmallRegions<T extends ImageBase<T>>

public static class MergeSmallRegions.Node extends Object
Node in a graph. Specifies which segments are adjacent to a segment which is to be pruned.
  • Field Details

    • segment

      public int segment
    • edges

      public DogArray_I32 edges
  • Constructor Details

    • Node

      public Node()
  • Method Details

    • init

      public void init(int segment)
    • connect

      public void connect(int segment)
    • isConnected

      public boolean isConnected(int segment)