what is the 'bestLabels' params in cv2.kmeans() ?

asked 2015-10-14 21:32:06 -0600

gelgel gravatar image

I use opencv3 in python.
I confirmation this page ↓
http://docs.opencv.org/3.0-beta/doc/p...

In this explain , cv2.kmeans() function required 5 params 'samples', 'nclusters(K)', 'criteria', 'attempts', 'flags'. but there examples required 6 params. 'None' is in third param.
I found cv2.kmeans() seems required 'bestLabels" parameter. In many cases , it is None.
what is the 'bestLabels' ? is it case of non-"None"?

edit retag flag offensive close merge delete