Class SegmentSlic.Cluster

java.lang.Object
boofcv.alg.segmentation.slic.SegmentSlic.Cluster
Enclosing class:
SegmentSlic<T extends ImageBase<T>>

public static class SegmentSlic.Cluster
extends Object
The mean in k-means. Point in image (x,y) and color space.
  • Field Details

    • id

      public int id
    • x

      public float x
    • y

      public float y
    • color

      public float[] color
    • totalWeight

      public float totalWeight
  • Constructor Details

    • Cluster

      public Cluster()
  • Method Details

    • reset

      public void reset()
    • update

      public void update()