CIELab Colorspace conversion

烈酒焚心 提交于 2020-01-02 07:30:31

问题


Is there a canonical colorspace conversion library? I can't find any pre-existing solutions. Is CIELab conversion is too obscure?


回答1:


It is not obscure, I have done it myself recently from RGB to CIELAB. Look at the source of OpenCV there is a lot of color convesrion functions. File is: ../src/cv/cvcolor.cpp Have a look at the function icvBGRx2Lab_32f_CnC3R for example. This is probably what are you looking for.



来源:https://stackoverflow.com/questions/2428304/cielab-colorspace-conversion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!