8.18. Strekk kontrast

The Stretch Contrast 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. «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.

Kommandoen er også nokså lik kommandoen Kvitbalanse, men fjernar ikkje noen av dei svært mørke eller svært lyse pikslane. Dermed kan du risikera ein urein kvitfarge.

8.18.1. Aktivering

  • This command can be accessed from an image menubar as ColorsAutoStretch Contrast.

8.18.2. Options

Figur 16.182. «Stretch Contrast» settings

«Stretch Contrast» settings

Presets

«Presets» are a common feature for several Colors commands. You can find its description in Del 8.1.1, «Colors Common Features».

Keep Colors

Impact each color channel with the same amount.

Non-Linear Components

When set, this option operates on gamma corrected values instead of linear RGB, acting like the old Normalize filter.

Blending Options, Preview and Split view

These are common features described in Del 8.1.1, «Colors Common Features».

8.18.3. Eksempel på bruk av «Strekk kontrast»

Figur 16.183. Originalbiletet

Originalbiletet

Det aktive laget og histogrammet for raud, grøn og blå før bruk av «Strekk kontrast».


Figur 16.184. Biletet etter bruk av filteret

Biletet etter bruk av filteret

Det aktive laget og histogrammet for raud, grøn og blå etter bruk av «Strekk kontrast». Til skilnad frå «Kvitbalanse» rekk ikkje pikselkolonna heilt ut til høgresida av histogrammet (255) på grunn av svært få lyse pikslar.

Strekkinga av histogrammet lagar opningar mellom kolonnene. Difor stripene.