Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top