How to increase the contrast of a colour image?

K
kiruthika r · Feb 25, 2022 · 2K views
Question
How to increase the contrast of a colour image?  
Expert Answer
Profile picture of John Michell
John Michell PhD Expert
Answered Aug 31, 2026

Please find the below method. It is the most easiest way. You can set the maximum and minimum values and adjust the image to that region.

 

low = 0.3;
high = 0.7;
K = imadjust(I,[low high],[]); % I is double

Another way of contrast enhancing is by doing histogram stretching. you can use histeq (see doc histeq for more details), or you can stretch it manually.

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!