The “Stretch Contrast” works on layers of RGB, Grayscale and Indexed images. Use “Stretch Contrast” only if you want to remove an undesirable color tint from an image which should contain pure white and pure black.
command automatically stretches the histogram values in the active layer. For each channel of the active layer, it finds the minimum and maximum values and uses them to stretch the Red, Green and Blue histograms to the full contrast range. The bright colors become brighter and the dark colors become darker, which increases the contrast.This command is also similar to the Color Balance command, but it does not reject any of the very dark or very bright pixels, so the white might be impure.
These options are common to GEGL-based filters. Please refer to Section 2, “Common Features”.
Impact each color channel with the same amount.
When set, this option operates on gamma corrected values instead of linear RGB, acting like the old Normalize filter.