matlab code to convert xyzcolor space into lab color pace

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

Categories

Asked:

on 21 Dec 2011

Community Treasure Hunt

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

Start Hunting!