


Convert srgb (nonlinear) to linear rgb in the srgb color space rgb = srgb2lrgb(rgb,maxDV) Purpose: sRGB is a standard color space that is designed around the properties of display monitors (Sony Trinitron CRT). The RGB coordinates in this space are nonlinearly related to XYZ. Prior to the nonlinear step, however, there is a linear stage that we refer to as lrgb. This routine converts the nonlinear (srgb) values into the linear (lrgb) values. The input range for srgb values is (0,255); the range for the linear values is (0,1). Reference http://www.w3.org/Graphics/Color/sRGB (techy) http://www.microsoft.com/windowsxp/using/digitalphotography/thebigpicture/colorspaces.mspx (ugh) Copyright ImagEval Consultants, LLC, 2003.
