When a cluster is empty for KMeans, it's better to give it the point from another...
authorPierre-Emmanuel Viel <p.emmanuel.viel@gmail.com>
Fri, 20 Dec 2013 00:00:55 +0000 (01:00 +0100)
committerPierre-Emmanuel Viel <p.emmanuel.viel@gmail.com>
Fri, 20 Dec 2013 00:00:55 +0000 (01:00 +0100)
commitd3ac1bc314136d0654fad24a9ee5b01c29e9f5af
treebef7b7d732cb748408e3de5adb39eb3aa98c003d
parent26f5d2d63979e06638409783d222e8d4f5e08f22
When a cluster is empty for KMeans, it's better to give it the point from another cluster j that is the furthest one from center j.
modules/flann/include/opencv2/flann/kmeans_index.h