In Linear-light RGB, each component is proportional to the amount of its corresponding primary light. Adding or averaging components therefore corresponds to adding or averaging those light contributions, provided the same primaries and reference conditions are used. Nonlinear display encodings such as sRGB must first be decoded for this arithmetic.[ref]
For a nonnegative sRGB channel in , the linear value is when , and otherwise. Thus encoded mid-gray represents approximately0.214 linear light. Averaging encoded black and white gives0.5, while averaging their light gives0.5 linear, encoded as approximately0.735. This explains dark fringes produced by averaging nonlinear channel values directly. The primaries, white point and transfer rule together determine a color space; linearity alone does not specify which colors an RGB triple represents.

Articles by others on the same topic (0)

There are currently no matching articles.