Package boofcv.alg.segmentation.slic
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 Summary
Fields Modifier and Type Field Description DogArray<SegmentSlic.ClusterDistance>
clusters
-
Constructor Summary
Constructors Constructor Description Pixel()
-
Method Summary
Modifier and Type Method Description void
add(SegmentSlic.Cluster c, float distance)
void
computeWeights()
void
reset()
-
Field Details
-
clusters
-
-
Constructor Details
-
Pixel
public Pixel()
-
-
Method Details
-
add
-
computeWeights
public void computeWeights() -
reset
public void reset()
-