Machine Vision

Showing results for 
Search instead for 
Did you mean: 

rgb to CIE LAB and reverse

In Imaq there is a Vi  called that is useful to convert an RGB into Cie lab color code. Is there another vi in order to convert a color in the CIE lab color space into RGB ?

0 Kudos
Message 1 of 3

I'm pretty sure there isn't a VI to do the reverse conversion, so you'll need to code it yourself.  The NI implementation of La*b* seems to be a little non-standard - see - I think the issue is that LabVIEW doesn't do a gamma correction, whereas most other software does.


0 Kudos
Message 2 of 3

Hello Jacqmax,


GregS is right, there is no this function. You will have to program by your own. On the next link you'll find the exact formula:



0 Kudos
Message 3 of 3