How to find min and max gray level value in GUI?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Muhammad Harith Ramli
el 10 de Oct. de 2016
Comentada: Muhammad Harith Ramli
el 10 de Oct. de 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 comentarios
Respuesta aceptada
Image Analyst
el 10 de Oct. de 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 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Red en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!