Voltage relates to intensity through a 2.5-power function, but how do RGB code values relate to voltage?
In a pseudocolor (or indexed color) framebuffer, each pixel value in the frame buffer (e.g., 43) is presented to the color lookup table (CLUT); the CLUT returns an RGB triple (e.g., 135, 206, 235). Each mapped value, plus or minus a black-level error, is proportional to voltage. In a hicolor framebuffer (for 16-bit color, on a cheap-o PC), with five bits for each of red, green, and blue, each component (0 to 31), plus or minus a black-level error, is proportional to voltage. In a truecolor framebuffer, each of the three 8-bit components is mapped through one of three lookup tables (LUTs, one for each of red, green, and blue) to produce a code from 0 to 255. Each lookup table can impose an arbitrary transfer function. The mapping may be determined by application software or system software; it may or may not be accessible to the user, and may be well documented, poorly documented, or undocumented. Each mapped value, plus or minus a black-level error, is proportional to voltage. See the
Related Questions
- I want to visualize a scalar function of two variables. Should I use RGB values corresponding to the colours of the rainbow?
- Voltage relates to intensity through a 2.5-power function, but how do RGB code values relate to voltage?
- Voltage relates to luminance through a 2.5-power function, but how do RGB code values relate to voltage?