Filter löschen
Filter löschen

reducing an image contrast using matlab

13 Ansichten (letzte 30 Tage)
Zohair Al-Ameen
Zohair Al-Ameen am 6 Okt. 2014
Kommentiert: Image Analyst am 7 Okt. 2014
Hello Researchers,
is there is a way or a specific code for reducing the image contrast in Matlab?

Akzeptierte Antwort

Image Analyst
Image Analyst am 6 Okt. 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 Kommentare
Zohair Al-Ameen
Zohair Al-Ameen am 7 Okt. 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 am 7 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by