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.
<<

>>
0 个评论
采纳的回答
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 Center 和 File Exchange 中查找有关 Red 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!