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).
Akshay Bhosale (2021). Contrast Stretching (https://www.mathworks.com/matlabcentral/fileexchange/48845-contrast-stretching), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Basic Image Processing operations
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!