{"title":"Color-Dust: A Data Visualization Application of Image Color Based on K-Means Algorithm","authors":"Ruixan Yang, Chunfang Li, Yujun Wen","doi":"10.1109/ICMLC51923.2020.9469553","DOIUrl":null,"url":null,"abstract":"This application, Color Dust, extracts and filters the color of image pixels online through Canvas, then performs clustering analysis and statistics based on the K-Means algorithm. With the help of front-end libraries such as D3.js, Vue.js, and Vuetify, the data visualization of image color is realized. The color extracted by the K-Means algorithm is the average of several tones that frequently appear in the image, and it is a good reference for harmonizing colors. After the extraction is completed, various methods of data visualization are used to display the information about colors in the picture in real time with D3.js and Vue’s responsiveness, and the color of the website can be changed according to different images in real time. In addition, this project encapsulated the algorithm steps of extraction process into npm packages, which can be quickly transplanted to Node.js or front-end of website.","PeriodicalId":170815,"journal":{"name":"2020 International Conference on Machine Learning and Cybernetics (ICMLC)","volume":"115 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 International Conference on Machine Learning and Cybernetics (ICMLC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICMLC51923.2020.9469553","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This application, Color Dust, extracts and filters the color of image pixels online through Canvas, then performs clustering analysis and statistics based on the K-Means algorithm. With the help of front-end libraries such as D3.js, Vue.js, and Vuetify, the data visualization of image color is realized. The color extracted by the K-Means algorithm is the average of several tones that frequently appear in the image, and it is a good reference for harmonizing colors. After the extraction is completed, various methods of data visualization are used to display the information about colors in the picture in real time with D3.js and Vue’s responsiveness, and the color of the website can be changed according to different images in real time. In addition, this project encapsulated the algorithm steps of extraction process into npm packages, which can be quickly transplanted to Node.js or front-end of website.
Color Dust这个应用程序通过Canvas在线提取和过滤图像像素的颜色,然后基于K-Means算法进行聚类分析和统计。借助D3.js、Vue.js、Vuetify等前端库,实现了图像颜色的数据可视化。K-Means算法提取的颜色是图像中频繁出现的几种色调的平均值,是调和颜色的一个很好的参考。提取完成后,利用D3.js和Vue的响应性,利用各种数据可视化的方法,实时显示图片中有关颜色的信息,可以根据不同的图片实时改变网站的颜色。此外,本项目将提取过程的算法步骤封装到npm包中,可以快速移植到Node.js或网站前端。