10.20.  Layer Color-Stretching Commands

Revision History
Revision $Revision: 1932 $ 2006-09-11 scb

GIMP has several automatic commands for stretching the columns of the histogram for the color channels of the active layer. By pushing bright pixels to the right and dark pixels to the left, they make bright pixels brighter and dark pixels darker, which enhances the contrast in the layer.

Some of the commands stretch the three color channels equally, so that the hues are not changed. Other commands stretch each of the color channels separately, which changes the hues.

The way the stretching is done varies with the different commands and the results look different. It is not easy to predict exactly what each command will do. If you know exactly what you are doing, you can get the same results, and even more, with the Levels tool.

Here are examples of the results of these commands, all together on one page, so you can compare them more easily. The most appropriate command depends upon your image, so you should try each of them to see which command works best on it.

El GIMP tiene varios comandos automáticos para extender las columnas del histograma para los canales de color de la capa activa. Al desplazar los píxeles claros hacia la derecha y los oscuros hacia la izquierda, hacen los píxeles claros más claros y los oscuros más oscuros, lo que realza el contraste en la capa.

Figure 14.83.  The original layer and its histograms

The original layer and its histograms

This layer doesn't have any very bright or very dark pixels, so it works well with these commands.


Figure 14.84.  The “Equalize” command


Figure 14.85.  The “White Balance” command


Figure 14.86.  The “Color Enhance” command


Figure 14.87.  The “Normalize” command


Figure 14.88.  The “Stretch Contrast” command


Figure 14.89.  The “Stretch HSV” command