Convert L*a*b* data to uint16 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 from double or single, L* values usually range from 0 to 100, while a* and b* range from -128 to 127. The upper limit values will be converted to 65280.
See also: lab2double, lab2rgb, lab2single, lab2uint8, lab2uin16, lab2xyz.
Package: image