MCPcopy Create free account
hub / github.com/bitristan/OpenCVSamples / kmeans

Method kmeans

OpenCV Library - 2.4.3/src/org/opencv/core/Core.java:4186–4192  ·  view source on GitHub ↗

Finds centers of clusters and groups input samples around the clusters. The function kmeans implements a k-means algorithm that finds the centers of cluster_count clusters and groups the input samples around the clusters. As an output, labels_i contains

(Mat data, int K, Mat bestLabels, TermCriteria criteria, int attempts, int flags, Mat centers)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

kmeans_0Method · 0.95
kmeans_1Method · 0.95

Tested by

no test coverage detected