Explaination on function ' imadjust ' ?
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Image Analyst
on 15 Oct 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 Comments
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!