Is there a canonical colorspace conversion library? I can’t find any pre-existing solutions. Is CIELab conversion is too obscure?
Is there a canonical colorspace conversion library? I can’t find any pre-existing solutions. Is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.