-
Implement the first version with vectors and matrices. * mln/clustering/k_mean.hh: New library component. * use/clustering/k_mean: New directory. * use/clustering/k_mean/Makefile.am: New makefile. * use/clustering/k_mean/k_mean.cc: New source file. * tests/clustering/k_mean: New directory. * tests/clustering/k_mean/Makefile.am: New makefile. * tests/clustering/k_mean/k_mean.cc: New source file. Implement the second version with image and working in 1d. * mln/clustering/kmean1d.hh: New library component. * use/clustering/kmean1d: New directory. * use/clustering/kmean1d/Makefile.am: New makefile. * use/clustering/kmean1d/kmean1d.cc: New source file. * demo/clustering/kmean1d: New directory. * demo/clustering/kmean1d/Makefile.am: New makefile. * demo/clustering/kmean1d/kmean1d.cc: New source file. Implement transformation between RG space and RGB space. * mln/fun/v2v/rg_to_rgb.hh: New library component. * use/fun/v2v/rg_to_rgb: New directory. * use/fun/v2v/rg_to_rgb/Makefile.am: New makefile. * use/fun/v2v/rg_to_rgb/rg_to_rgb.cc: New source file. Implement the third version working in 2d (r/g). * mln/clustering/kmean2d.hh: New library component. * use/clustering/kmean2d: New directory. * use/clustering/kmean2d/Makefile.am: New makefile. * use/clustering/kmean2d/kmean2d.cc: New source file. * demo/clustering/kmean2d: New directory. * demo/clustering/kmean2d/Makefile.am: New makefile. * demo/clustering/kmean2d/kmean2d.cc: New source file. Implement the fourth version working in 3d (rgb). * mln/clustering/kmean3d.hh: New library component. * use/clustering/kmean3d: New directory. * use/clustering/kmean3d/Makefile.am: New makefile. * use/clustering/kmean3d/kmean3d.cc: New source file. * demo/clustering/kmean3d: New directory. * demo/clustering/kmean3d/Makefile.am: New makefile. * demo/clustering/kmean3d/kmean3d.cc: New source file. Implement the fith version as a function (working in rgb space). * mln/clustering/kmean_rgb.hh: New library component. * use/clustering/kmean_rgb: New directory. * use/clustering/kmean_rgb/Makefile.am: New makefile. * use/clustering/kmean_rgb/kmean_rgb.cc: New source file. * demo/clustering/kmean_rgb: New directory. * demo/clustering/kmean_rgb/Makefile.am: New makefile. * demo/clustering/kmean_rgb/kmean_rgb.cc: New source file. Benchmark distance algorithm for the kmean algorithm. * bench/clustering/distance: New directory. * bench/clustering/distance/Makefile.am: New makefile. * bench/clustering/distance/distance.cc: New source file.
400f1e8f