Show / Hide Table of Contents

Enum KMeansFlags

Miscellaneous flags for cv::kmeans

Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public enum KMeansFlags

Fields

Name Description
PpCenters

Use kmeans++ center initialization by Arthur and Vassilvitskii [Arthur2007].

RandomCenters

Select random initial centers in each attempt.

UseInitialLabels

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX