imshow(I, [low high]
显示 更早的评论
The help manual shows how to scale a (grayscale) image using low and high
imshow(I, [low high]
It doesn't tell you how to extract the values that have been used. Is this possible to take a current image and obtain the low and high values?
thanks Jason
1 个评论
Walter Roberson
2011-8-11
duplicate is at http://www.mathworks.com/matlabcentral/answers/13292-extract-imadjust-values
回答(2 个)
Andreas Goser
2011-8-11
0 个投票
The choice of the LOW and HIGH parameters is depending on your application. The lowest and highest values of your picture (you could obtain with MIN and MAX commands) may not the most useful parameters.
3 个评论
Jason
2011-8-11
Walter Roberson
2011-8-11
Jason, please do not open multiple questions on the same topic.
Jason
2011-8-17
Image Analyst
2011-8-11
Jason, you don't have to know. Simply do it this way:
imshow(imageArray, []);
and it will do it for you.
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!