Explaination on function ' imadjust ' ?

24 visualizaciones (últimos 30 días)
Esther
Esther el 15 de Oct. de 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.

Respuestas (1)

Image Analyst
Image Analyst el 15 de Oct. de 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 comentarios
Esther
Esther el 15 de Oct. de 2012
Editada: Esther el 15 de Oct. de 2012
does 'interesting stuff' meant the object that i want to see?
Walter Roberson
Walter Roberson el 15 de Oct. de 2012
Yes.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by