用于计算色差(ΔE)和颜色空间转换的C / C ++库 [英] C/C++ library for computing color difference (delta E) and color space conversions

查看:291
本文介绍了用于计算色差(ΔE)和颜色空间转换的C / C ++库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我google了,但没有找到任何东西。我使用colormath库为python,但它相当慢。

I googled but didn't find anything. I'm using colormath library for python, but it rather slow.

推荐答案

很容易翻译成C!

请参阅 deltaE2000(),它会在LCHab中显示颜色,功能来转换RGB - >线性RGB - > XYZ-> Lab - > LCHab。 代码 UI demo

See deltaE2000(), which takes colors in LCHab, and perhaps the functions to convert RGB -> Linear RGB -> XYZ-> Lab -> LCHab. Code, and UI demo.

这篇关于用于计算色差(ΔE)和颜色空间转换的C / C ++库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆