Package boofcv.alg.segmentation.slic
Class SegmentSlic.Cluster
java.lang.Object
boofcv.alg.segmentation.slic.SegmentSlic.Cluster
- Enclosing class:
- SegmentSlic<T extends ImageBase<T>>
The mean in k-means. Point in image (x,y) and color space.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
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()
-