Click or drag to resize

KMeansFlags Enumeration

Miscellaneous flags for cv::kmeans

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
[FlagsAttribute]
public enum KMeansFlags
Members
  Member nameValueDescription
RandomCenters0 Select random initial centers in each attempt.
PpCenters2 Use kmeans++ center initialization by Arthur and Vassilvitskii [Arthur2007].
UseInitialLabels1 During 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.
See Also