Click here to Skip to main content
15,880,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I have an image with 300*300 pixels. I am getting this image from spectral camera.
I want find CIELAB value (*L *a *b) from images.
I want to map the image pixel in 400 to 700 nanometer/Wave length graph.
Please suggest how to get RGB value from image and how put this on
CIELAB equation. Or Suggest right way to achieve this thing.

CIE L*a*b* (CIELAB) is the most complete color space specified by the International Commission on Illumination (Commission Internationale d'Eclairage, hence its CIE initialism). It describes all the colors visible to the human eye and was created to serve as a device independent model to be used as a reference

Thanks
Semaphore
Posted
Updated 4-Jan-23 1:06am
v4
Comments
CPallini 23-Sep-10 5:25am    
What is CIEL*ab? What is Z of a bitmap?
Richard MacCutchan 23-Sep-10 5:26am    
You could start by rephrasing your question. What do you mean by "CIEL *ab" value? What do you mean by "X,Y,Z"?
semaphore1 23-Sep-10 6:04am    
Please check here.
http://www.colorsystem.com/projekte/engl/54labe.htm
http://dba.med.sc.edu/price/irf/Adobe_tg/models/ciexyz.html
Richard MacCutchan 23-Sep-10 7:14am    
What do you mean "please check here"? If you cannot be bothered to explain your problem clearly then you are unlikely to get much help.

1 solution

If you have spectral data then you start by finding the CIE XYZ values by applying the standard color matching functions. See e.g. http://en.wikipedia.org/wiki/CIE_1931_color_space#Color_matching_functions[^] and http://www.marcelpatek.com/color.htm[^]
XYZ can easily be converted to L*a*b*: http://en.wikipedia.org/wiki/Lab_color_space#CIE_XYZ_to_CIE_L.2Aa.2Ab.2A_.28CIELAB.29_and_CIELAB_to_CIE_XYZ_convers[^]
If you want RGB values, you must first specify which RGB space you want. i.e. specify the chromaticies of the primaries, the white point and the gamma value.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900