White Balance Operator
Figure: White Balance Operator - Block Diagram

- One register
- One multiplier
- One clipper
The register element holds the gain correction factor. The gain value is registered as a 16-bit unsigned binary value allowing gain correction factors to be accurately defined.
The multiplier computes the product of the gain correction factor and the color component value. It is capable to handle components having 8-bit, 10-bit, 12-bit, 14-bit and 16-bit bit depth.
The multiplier output is clipped to the maximum value of the digital output scale. The digital output scale is in all cases identical to the digital input scale; itself identical to the digital output scale of the camera. For instance, for a camera delivering 10-bit components, the digital scale is [0..1023].
Figure: White Balance Operator - Transfer Function

- The blue line corresponds to a gain setting of 1.000; i.e., the minimal allowed gain value.
- The red line corresponds to a gain setting of 2.000. The output remains proportional to the input until the 100% full-scale output is reached; for greater input values, the output is clipped to 100% full-scale!