Azzera filtri
Azzera filtri

How to increase the contrast of a colour image?

13 visualizzazioni (ultimi 30 giorni)
How to increase the contrast of a colour image?

Risposta accettata

Varun Pai
Varun Pai il 25 Ago 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by