Explaination on function ' imadjust ' ?

조회 수: 3 (최근 30일)
Esther
Esther 2012년 10월 15일
Hi. i have look through matlab help but i still don't understand about the low_in high_in,*low_out high_out* in imadjust(I,[low_in; high_in],[low_out; high_out].
Can someone give me a more detail explaination? thanks! it will be better if someone can teach me how to determine adjust intensity value from grayscale histogram.

답변 (1개)

Image Analyst
Image Analyst 2012년 10월 15일
The "in" is what the gray level range of your input image is. The out is where your want that range to be mapped to in the display. For example, if your image is low contrast and all the interesting stuff happens in the range 100-110, and you want to display it so that 100 shows up at 0 and 110 shows up as 255, you'd use imadjust(imageArray, [100 110], [0 255]);
Of if you wanted 100 to appear as 25 and 110 to appear as 200 you'd do imadjust(imageArray, [100 110], [25 200]). Anything less than 100 would show up as 25 and anything brighter would show up as 200.
  댓글 수: 4
Esther
Esther 2012년 10월 15일
편집: Esther 2012년 10월 15일
does 'interesting stuff' meant the object that i want to see?
Walter Roberson
Walter Roberson 2012년 10월 15일
Yes.

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

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by