Explaination on function ' imadjust ' ?

3 visualizzazioni (ultimi 30 giorni)
Esther
Esther il 15 Ott 2012
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.

Risposte (1)

Image Analyst
Image Analyst il 15 Ott 2012
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 Commenti
Esther
Esther il 15 Ott 2012
Modificato: Esther il 15 Ott 2012
does 'interesting stuff' meant the object that i want to see?

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by