DEV Community

Mrinal Walia
Mrinal Walia

Posted on

Colour Quantization Using K-Means Clustering and OpenCV

Topic: Colour Quantization Using K-Means Clustering and OpenCV

https://www.analyticsvidhya.com/blog/2021/07/colour-quantization-using-k-means-clustering-and-opencv/

Have you ever wondered how we can implement a machine learning algorithm on the pixel intensity value with a common K-means clustering algorithm?

In this method, we would generate a compressed variant of our picture with more scattered colours. The image will be processed in a lower intensity resolution, whereas the fraction of pixels will prevail. This procedure is very interesting, so I expect that you will like it.

This article can appear as a particularly impressive and unexpected one, so here is the link to the article, please have a read and hope you like it.

algorithms #technology #machinelearning #datascience #artificialintelligence #python #kmeans #clustering #opencv #imageprocessing #computervision

Top comments (0)