필터 지우기
필터 지우기

Histogram Shape Function Question

조회 수: 1 (최근 30일)
Steve
Steve 2012년 4월 2일
Hello Dear Experts,
I have written the following histogram shape function that gets source and destination images and performs the histogram shape algorithm.
Please be so kind and have a look on it, because when I insert dark image of a a house and gray spectrum as destination I get as a result white picture.
*Code deleted by the Author.

채택된 답변

Sean de Wolski
Sean de Wolski 2012년 4월 2일
How are you displaying the result? It's possible you're viewing it over only a specific range (e.g. 0-1) and the values range from (0-255) thus everything greater than one appears white.
try:
imtool(I,[]);
  댓글 수: 3
Steve
Steve 2012년 4월 2일
I have already did it and it's really got brighter but only using your command.
What is wrong with my function that I see it only in a specific range?
Steve
Steve 2012년 4월 2일
Ohh now I got this, I just went to the help of imshow and there is a parameter that tells what range to use.
Thank you Sean!

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

추가 답변 (0개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by