图像主色提取算法项目代码

上传者: 46043195 | 上传时间: 2022-08-05 09:06:42 | 文件大小: 5.4MB | 文件类型: ZIP
首先, 我们需要思考如何表示一张图片. 图片是由一系列像素点组成的, 最简单的表示图片的方法就是用位图, 也即记录下每个像素点的 rgb 来表示 所以我们可以用一个 width * height * 3 的数组来表示一张图片, 其中 width 和 height 分别表示宽高, 3 代表 r,g,b 三个通道 讲解博文:https://blog.csdn.net/weixin_46043195/article/details/126167731?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22126167731%22%2C%22source%22%3A%22weixin_46043195%22%7D&ctrtid=3e8Ca

文件下载

资源详情

[{"title":"( 42 个子文件 5.4MB ) 图像主色提取算法项目代码","children":[{"title":"color-extraction","children":[{"title":"package.json <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"imgs","children":[{"title":"test","children":[{"title":"tests.jpg <span style='color:#111;'> 2.07MB </span>","children":null,"spread":false},{"title":"imgData1.json <span style='color:#111;'> 770.37KB </span>","children":null,"spread":false},{"title":"2.jpg <span style='color:#111;'> 263.17KB </span>","children":null,"spread":false},{"title":"1.jpg <span style='color:#111;'> 149.28KB </span>","children":null,"spread":false},{"title":"imgData2.json <span style='color:#111;'> 1.33MB </span>","children":null,"spread":false},{"title":"3.jpg <span style='color:#111;'> 243.51KB </span>","children":null,"spread":false},{"title":"4.jpg <span style='color:#111;'> 71.37KB </span>","children":null,"spread":false},{"title":"imgData4.json <span style='color:#111;'> 367.83KB </span>","children":null,"spread":false},{"title":"imgData3.json <span style='color:#111;'> 1.14MB </span>","children":null,"spread":false}],"spread":true},{"title":"blog","children":[{"title":"netease.jpg <span style='color:#111;'> 44.76KB </span>","children":null,"spread":false},{"title":"mid-cut","children":[{"title":"tests-k-m.jpg <span style='color:#111;'> 503.01KB </span>","children":null,"spread":false},{"title":"1.png <span style='color:#111;'> 8.53KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 8.54KB </span>","children":null,"spread":false},{"title":"4.png <span style='color:#111;'> 8.57KB </span>","children":null,"spread":false},{"title":"3.png <span style='color:#111;'> 8.56KB </span>","children":null,"spread":false}],"spread":true},{"title":"scatter","children":[{"title":"2.jpg <span style='color:#111;'> 45.65KB </span>","children":null,"spread":false},{"title":"1.jpg <span style='color:#111;'> 50.64KB </span>","children":null,"spread":false},{"title":"3.jpg <span style='color:#111;'> 50.57KB </span>","children":null,"spread":false},{"title":"scatter.jpg <span style='color:#111;'> 300.90KB </span>","children":null,"spread":false},{"title":"4.jpg <span style='color:#111;'> 63.84KB </span>","children":null,"spread":false}],"spread":true},{"title":"octree","children":[{"title":"1.png <span style='color:#111;'> 8.56KB </span>","children":null,"spread":false},{"title":"tests-k-m-o.jpg <span style='color:#111;'> 564.95KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 8.52KB </span>","children":null,"spread":false},{"title":"4.png <span style='color:#111;'> 8.55KB </span>","children":null,"spread":false},{"title":"3.png <span style='color:#111;'> 8.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"kmeans","children":[{"title":"tests-k.jpg <span style='color:#111;'> 440.49KB </span>","children":null,"spread":false},{"title":"1.png <span style='color:#111;'> 8.56KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 8.54KB </span>","children":null,"spread":false},{"title":"4.png <span style='color:#111;'> 8.56KB </span>","children":null,"spread":false},{"title":"3.png <span style='color:#111;'> 8.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"midCut.ts <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"dump2JSON.py <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"kmeans.ts <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"shared.ts <span style='color:#111;'> 707B </span>","children":null,"spread":false},{"title":"octree.ts <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false},{"title":"scatterImg.py <span style='color:#111;'> 865B </span>","children":null,"spread":false}],"spread":true},{"title":"简介.md <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 8.56KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明