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

2 次查看(过去 30 天)
I making GUI to find min and max gray level value. i do not know how to implement the function into the GUI.
<<
>>

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Red 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by