Explaination on function ' imadjust ' ?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!