Enum KMeansFlags
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Miscellaneous flags for cv::kmeans
[Flags]
public enum KMeansFlags
Fields
PpCenters = 2Use kmeans++ center initialization by Arthur and Vassilvitskii [Arthur2007].
RandomCenters = 0Select random initial centers in each attempt.
UseInitialLabels = 1During the first (and possibly the only) attempt, use the user-supplied labels instead of computing them from the initial centers. For the second and further attempts, use the random or semi-random centers. Use one of KMEANS_*_CENTERS flag to specify the exact method.