imshow(I, [low high]
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 11 Aug. 2011
duplicate is at http://www.mathworks.com/matlabcentral/answers/13292-extract-imadjust-values
Antworten (2)
Andreas Goser
am 11 Aug. 2011
0 Stimmen
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 Kommentare
Jason
am 11 Aug. 2011
Walter Roberson
am 11 Aug. 2011
Jason, please do not open multiple questions on the same topic.
Jason
am 17 Aug. 2011
Image Analyst
am 11 Aug. 2011
Jason, you don't have to know. Simply do it this way:
imshow(imageArray, []);
and it will do it for you.
Kategorien
Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!