The function we're displaying here is:
L(x,y,lambda) = ( y / n_y ) delta( lambda - ( 420 ( x / n_x ) + 380 ) )
where n_x and n_y are width and height, respectively.
Conversion from XYZ-space to RGB-space done using the matrix:
| | R | | | | +2.5623 | -1.1661 | -0.3962 | | | X | | |
| | G | | = | | | -1.0215 | +1.9778 | +0.0437 | | | Y | |
| | B | | | | +0.0752 | -0.2562 | +1.1810 | | | Z | |
| Convert to RGB space then clamp values to [0-1] | ![]() |
| XYZ values are multiplied by 5, then converted to RGB space and clamped to [0-1] | ![]() |
| XYZ space is clamped to [0-1] then converted to RGB space (which is clamped to [0-1]) | ![]() |
| Convert to RGB space then scale and bias values to [0-1] | ![]() |
| Convert to RGB space then scale and bias values to [0-PI/2], take the sine of the result. | ![]() |
| Convert to RGB space, set negative values to 0, scale to [0-PI/2], take the sine of the result. | ![]() |
| Convert to RGB space, set negative values to 0, scale to [0-1] and raise to the 3/4 power. | ![]() |
Last Modified: Tuesday, Sept 18, 2001
Chris Wyman (wyman@cs.utah.edu)