Name
RGB2LAB — wandelt RGB-Bild in L*a*b*-Bild um
Aufruf
LAB = RGB2LAB(RGB);
Parameter
- RGB
3D-Matrix vom Typ double
- LAB
3D-Matrix vom Typ double
Beschreibung
Diese Funktion wandelt ein RGB-Bild in ein L*a*b*-Bild um.
Beispiel
RGB = ReadImage('contrib\IPD-5.0\demos\teaset.png');
RGBD = double(RGB) / 255;
LAB = RGB2LAB(RGBD);
figure(); ShowColorImage(LAB, 'L*a*b*');