perform var(image(:)) operation in gui
조회 수: 3 (최근 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!