How to find min and max gray level value in GUI?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Muhammad Harith Ramli
le 10 Oct 2016
Commenté : Muhammad Harith Ramli
le 10 Oct 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 commentaires
Réponse acceptée
Image Analyst
le 10 Oct 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 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Red dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!