Effacer les filtres
Effacer les filtres

reducing an image contrast using matlab

13 vues (au cours des 30 derniers jours)
Zohair Al-Ameen
Zohair Al-Ameen le 6 Oct 2014
Commenté : Image Analyst le 7 Oct 2014
Hello Researchers,
is there is a way or a specific code for reducing the image contrast in Matlab?

Réponse acceptée

Image Analyst
Image Analyst le 6 Oct 2014
You can use imadjust() in the Image Processing Toolbox. It's not interactive though. Or simply multiply your image by a factor between 0 and 1.
  2 commentaires
Zohair Al-Ameen
Zohair Al-Ameen le 7 Oct 2014
dear sir, I'm trying to reduce the contrast of an image, not improve the contrast, imadjust() improves the contrast of a given poor contrast image. however, my key issue here is to reduce the contrast of an image. any ideas !!
Image Analyst
Image Analyst le 7 Oct 2014
It can reduce it also. Read the help:
J = imadjust(I,[low_in; high_in],[low_out; high_out]) maps the values in I to new values in J such that values between low_in and high_in map to values between low_out and high_out.
Do you think the contrast would be reduced if low_out was 100 and high_out was 103, so that there was only a 3 gray level difference between the lowest gray level and the highest gray level? Sure it would.

Connectez-vous pour commenter.

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