Contrast Stretching
Version 1.1.0.0 (737 Bytes) by
Akshay Bhosale
This code is used for demonstration of Contrast Stretching
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 (2024). 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 LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Contrast Adjustment >
Find more on Contrast Adjustment in Help Center and MATLAB Answers
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.