image thumbnail

Contrast Stretching

version 1.1.0.0 (737 Bytes) by Akshay Bhosale
This code is used for demonstration of Contrast Stretching

2.9K Downloads

Updated 25 Dec 2014

View License

This code is used for demonstration of Contrast Stretching. In the code the minimum intensity value of pixel of input image is mapped to 0, whereas the maximum intensity value of pixel of input image is mapped to 255. The intermediate values of pixels of input image are proportionally (linearly).

Cite As

Akshay Bhosale (2021). Contrast Stretching (https://www.mathworks.com/matlabcentral/fileexchange/48845-contrast-stretching), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Basic Image Processing operations

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!