Itseez/opencv — pull request #2744 by jet47 (2014-05-13 14:02:16+00:00)
Title: Fix cv::kmeans function

Reshape input matrix, since the function works with `data` as with `[N x dims]` matrix.