Using K-means clustering pixel in OpenCV using Java

本秂侑毒 提交于 2019-12-06 13:25:36

This Java class implements a fully functional example of the k-means color clustering algorithm in the official Java wrapper for OpenCV.

Although the mentioned implementation is performed over an image in the RGB color space, it is a very good example for a general understanding of k-means in OpenCV on Java and you could easily extend it to make it work in the HSV space.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!