How to find min and max gray level value in GUI?

3 visualizaciones (últimos 30 días)
I making GUI to find min and max gray level value. i do not know how to implement the function into the GUI.
<<
>>

Respuesta aceptada

Image Analyst
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));

Más respuestas (0)

Categorías

Más información sobre Red en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by