Effacer les filtres
Effacer les filtres

How to increase the contrast of a colour image?

22 vues (au cours des 30 derniers jours)
kiruthika r
kiruthika r le 25 Août 2015
Réponse apportée : Varun Pai le 25 Août 2015
How to increase the contrast of a colour image?

Réponse acceptée

Varun Pai
Varun Pai le 25 Août 2015
Hi Kiruthika,
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.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by