How to find min and max gray level value in GUI?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Harith Ramli
am 10 Okt. 2016
Kommentiert: Muhammad Harith Ramli
am 10 Okt. 2016
I making GUI to find min and max gray level value. i do not know how to implement the function into the GUI.
<<

>>
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 10 Okt. 2016
Try this in your callback after the imshow() call:
minGL = min(X(:));
maxGL = max(X(:));
message = sprintf('The min gray level = %d.\nThe max gray level = %d.', minGL, maxGL);
uiwait(helpdlg(message));
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Red finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!