필터 지우기
필터 지우기

reducing an image contrast using matlab

조회 수: 13 (최근 30일)
Zohair Al-Ameen
Zohair Al-Ameen 2014년 10월 6일
댓글: Image Analyst 2014년 10월 7일
Hello Researchers,
is there is a way or a specific code for reducing the image contrast in Matlab?

채택된 답변

Image Analyst
Image Analyst 2014년 10월 6일
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
Zohair Al-Ameen
Zohair Al-Ameen 2014년 10월 7일
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 2014년 10월 7일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by