Convert L*a*b* data to double precision.
lab must be a L*a*b* image or colormap, i.e., its dimensions must be MxNx3xK or Mx3. Its type must be double, single, uint16, or uint8.
When converted to double, L* values range from 0 to 100, while a* and b* range from -128 to 127. When converting from uint16, the upper limit is 65280 (higher values will be converted above the range).
See also: lab2double, lab2rgb, lab2single, lab2uint8, lab2uin16, lab2xyz.
Package: image