This's solutions for VŠB-TUO Image Analysis exercises course : http://mrl.cs.vsb.cz/people/gaura/ano_course.html
Due to Size of openCV library you need to extract "opencv.zip" file
This algorithm is inspired by the k-means algorithm, and its goal is to cluster image pixels into segments (clusters) based on their color similarity and proximity in the image plane