Contrast Stretching

A simple image enhancement technique that attempts to improve the contrast of an Image.
2.3K Downloads
Updated 18 Jan 2013

View License

Contrast stretching is a simple image enhancement technique that attempts to improve the contrast in an image by `stretching' the range of intensity values it contains to span a desired range of values, e.g. the full range of pixel values that the image type concerned allows. It differs from the more sophisticated histogram equalization in that it can only apply a linear scaling function to the image pixel values. As a result the `enhancement' is less harsh.

Cite As

Cavin Dsouza (2026). Contrast Stretching (https://www.mathworks.com/matlabcentral/fileexchange/39910-contrast-stretching), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0