# Extended guide to the Cloud Type RGB

## Print Version

## Appendix: How to create an RGB and the definition of gamma correction

- How to create an RGB and the definition of gamma correction

### How to create an RGB and the definition of gamma correction

This description explains how to create the EUMETSAT-suggested standard RGB scheme. The table below contains the required parameters for an RGB scheme.

Template of the parameters used in the RGB "recipes"

The second column shows which channels (or channel differences) should be visualized in the red, green and blue colour beams. Before combining them, the images should be calibrated and enhanced.

- The measured values should be calibrated by calculating reflectivity (R) or brightness temperature (BT) values. For solar channels, the calibration should also include a solar zenith angle correction: the reflectivity should be divided by the cosine of the solar zenith angle. (The zenith angle should be capped, e.g., at 80 degrees.)
- Then the images should be enhanced. The enhancement expands the range (MIN, MAX) of R or BT values to the full range of display values (0-255, BYTE) using a linear stretching and possibly a non-linear stretching

- The images should be linearly stretched within the brightness temperature or reflectivity ranges. (The 3rd and 4th columns of Table 1 contain the lower and upper limit of the corresponding ranges, while the 5th column contains the unit. In some cases, the range is 'inverted': the MAX and the MIN values are reversed.)
- In some cases, a non-linear stretching is also needed. In most such cases a so-called gamma correction is performed. If the Gamma parameter is greater than 1 then the image becomes brighter and the contrast of the darker tones increases. If the Gamma parameter is lower than 1 then the image becomes darker and the contrast of the brighter tones increases. If Gamma is equal to 1 then no gamma correction is needed. (The 6th column contains the Gamma parameter.)

The equation of the gamma correction (as it is used at EUMETSAT) is:

where:

- X is the input value - the actual calibrated value: reflectivity (R) or brightness temperature (BT),
- MIN and MAX are the lower and upper limit of the range of the stretching,
- Gamma is the gamma correction parameter,
- BYTE is the output value: the intensity of the enhanced image (where the full range of display values is 0–255).

It is important to be aware that some US colleagues and software tools define the 1/Gamma exponent as Gamma, i.e, they name as Gamma the reciprocal value of what is used here.