色差及范围界定

前段时间,关于主色提取方面,用到了色差的概念。色差是应用在Lab颜色空间上的,个人感觉效果还可以,不知道为何关于这方面的应用不是很多,是不是有什么大的弊端,还请大家多多指教!


色差相关定义可以参阅:http://www.cgan.net/book/books/print/packcolor/link/5-4-3.html

code:

/******************************************************************************** CIEDE2000 Color Difference Calculator** Copyright (c) 2007 yoneh (http://d.hatena.ne.jp/yoneh/)* * Permission is hereby granted, free of charge, to any person obtaining a copy* of this software and associated documentation files (the "Software"), to deal* in the Software without restriction, including without limitation the rights* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell* copies of the Software, and to permit persons to whom the Software is* furnished to do so,


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部