matlab code to convert xyzcolor space into lab color pace

how we can convert xyz color space into lab color space by using matlab coding

Answers (2)

Hi,
if you have the Image Processing Toolbox available, use the function makecform (with parameter 'xyz2lab'). Otherwise: take a look e.g. at http://brucelindbloom.com/ where the formulae are given. It's straigt forward to implement in MATLAB.
Titus

Asked:

on 21 Dec 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!