perform var(image(:)) operation in gui
1 次查看(过去 30 天)
显示 更早的评论
please,provide me a demo code for 5 images read in GUI using popup menu and perform var(image(:)) operation in gui
2 个评论
Walter Roberson
2013-2-6
What part should the pop-up menu play in this?
What do you want to have happen with the result of the variance calculation?
采纳的回答
Walter Roberson
2013-2-6
foo = get(hObject, 'String');
bar = imread(foo{get(hObject, 'Value')});
msgbox(num2str(var(bar(:))));
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!