摘要: RGB to HSII=(R+G+B)/3;S=1-3*min(R,G,B)/(R+G+B);H = cos^(-1)((0.5*((R-G)+(R-B))) / ((R-G)^2 + (R-B)*(G-B))^(0.5))If S = 0; H =0 ;If B >... 阅读全文
posted @ 2014-04-16 20:11 未雨愁眸 阅读(386) 评论(0) 推荐(0) 编辑