How to find min and max gray level value in GUI?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Muhammad Harith Ramli
il 10 Ott 2016
Commentato: Muhammad Harith Ramli
il 10 Ott 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 Commenti
Risposta accettata
Image Analyst
il 10 Ott 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 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Red in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!