Skip to content

Enhancement & Contrast

Enhancement & Contrast covers everything that makes an image look right and fit together: stretching the contrast so the detail becomes visible, building colour composites from separate bands, merging tiles into a seamless mosaic, and sharpening with a panchromatic band.

These operations change how the image reads, and some of them change its values, so run analysis on the original and enhancement on a copy.

Satellite imagery almost never uses its full value range. A raw scene displayed as is looks flat and dark. Stretching redistributes the values so the detail becomes visible.

ToolWhen to use it
Percentage Contrast StretchThe everyday choice. Clips a small percentage at each end, typically 2 percent, and stretches the rest. Handles the few extreme pixels that would otherwise flatten everything.
Min Max Contrast StretchStretches between bounds you set. Use it when you need two images to be comparable, since the same bounds give the same rendering.
Standard Deviation Contrast StretchStretches between the mean plus or minus a number of standard deviations. Well behaved on normally distributed data.
Histogram EqualizationRedistributes values so every level is equally represented. Reveals the most detail and distorts the relationship between brightness and value the most.
Gaussian Contrast StretchMatches the histogram to a Gaussian shape.
Sigmoidal Contrast StretchAn S shaped curve, gaining contrast in the middle tones and compressing the extremes.
Piecewise Contrast StretchA curve through breakpoints you define, for full control.
Gamma CorrectionPower law adjustment of the brightness. The gentlest correction for an image that is simply too dark or too bright.

Combines three single band rasters into one RGB image. This is how you build a true colour view from the red, green and blue bands, or a false colour infrared view by putting the near infrared band in the red channel, which is the classic way of reading vegetation.

Split Colour Composite does the reverse, which you need when you receive an RGB image and want to work band by band.

Fuses a high resolution panchromatic band with lower resolution colour bands, giving an image with the geometry of the first and the colours of the second. This is what turns a 10 metre multispectral scene into a 2.5 metre colour image on satellites that carry both.

Mosaic assembles several overlapping rasters into one. Mosaic With Feathering blends the overlaps with distance weights, so the seams disappear instead of showing as straight lines across the image. Prefer the second whenever the scenes differ slightly in radiometry, which is almost always.

Computes the generic normalised difference between two bands of a multiband raster. This one tool gives you the whole family of spectral indices, depending on which bands you point it at.

IndexBandsWhat it shows
NDVInear infrared and redVegetation vigour. The most used index in remote sensing.
NDWIgreen and near infraredOpen water.
NDBIshortwave infrared and near infraredBuilt up areas.
NBRnear infrared and shortwave infraredBurnt areas.

Threshold the result with Otsu Thresholding, in Classification, to turn an index into a mask.

ToolWhat it does
Percentage Contrast StretchLinear stretch after clipping a percentage at each end.
Min Max Contrast StretchLinear stretch between bounds you set.
Standard Deviation Contrast StretchLinear stretch around the mean, in standard deviations.
Gaussian Contrast StretchMatches the histogram to a Gaussian distribution.
Sigmoidal Contrast StretchS shaped stretch controlled by gain and cutoff.
Piecewise Contrast StretchStretch through breakpoints you define.
Histogram EqualizationEqualises the histogram, maximising visible detail.
Histogram MatchingMatches the histogram to a reference distribution.
Histogram Matching Two ImagesMatches one image’s histogram to another’s. Essential before comparing two dates.
Gamma CorrectionPower law brightness adjustment.
Balance Contrast EnhancementRemoves colour bias in an RGB composite with per channel stretches.
Direct Decorrelation StretchIncreases colour saturation by reducing the achromatic component.
Create Colour CompositeBuilds an RGB composite from three bands, with optional opacity.
Split Colour CompositeSplits an RGB composite back into three single band rasters.
Rgb To IhsConverts red, green, blue into intensity, hue, saturation.
Ihs To RgbThe inverse conversion.
Panchromatic SharpeningFuses a panchromatic band with multispectral bands.
MosaicAssembles several rasters into one.
Mosaic With FeatheringThe same, blending the overlaps so seams disappear.
ResampleChanges the pixel size, with a choice of interpolation method.
Normalized Difference IndexThe normalised difference between two bands, giving NDVI and its family.

Stretch for display, analyse the original. A stretch changes pixel values. Any index, classification or change detection must run on the original data, or on a radiometrically corrected version of it, never on a stretched one.

Before comparing two dates, match their histograms. Two scenes acquired months apart differ in illumination and atmosphere, and a change detection run on unmatched images mostly maps the weather.

Resampling method matters. Nearest neighbour keeps the values intact, which is mandatory for a classified raster. Bilinear and cubic give a smoother result on continuous imagery and invent intermediate values.