[3 P]Apply the k-means algorithm for lossy image compression by means of vector quantization.
kmeans
to do the clustering.
Determine the compression factor for each value of
and relate it to the quality of the image.
Apply an appropriate quality measure of you choice.
Present your results clearly, structured and legible. Document them in such a way that anybody can reproduce them effortless. Send the code of your solution to mailto:florian.hubner@igi.tugraz.atflorian.hubner@igi.tugraz.at