50

图像处理的滤镜算法

 5 years ago
source link: https://juejin.im/post/5b9e127df265da0a9a395e01
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
灰度滤镜 将颜色的RGB设置为相同的值即可使得图片为灰色,一般处理方法有: 1、取三种颜色的平均值 2、取三种颜色的最大值(最小值) 3、加权平均值:0.3R + 0.59G + 0.11*B for(var i = 0; i < data.length

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK