Class SegmentSlic.Pixel

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

public static class SegmentSlic.Pixel extends Object
K-means clustering information for each pixel. Stores distance from each cluster mean.
  • Field Details

  • Constructor Details

    • Pixel

      public Pixel()
  • Method Details

    • add

      public void add(SegmentSlic.Cluster c, float distance)
    • computeWeights

      public void computeWeights()
    • reset

      public void reset()