perform var(image(:)) operation in gui
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
please,provide me a demo code for 5 images read in GUI using popup menu and perform var(image(:)) operation in gui
2 commentaires
Walter Roberson
le 6 Fév 2013
What part should the pop-up menu play in this?
What do you want to have happen with the result of the variance calculation?
Réponse acceptée
Walter Roberson
le 6 Fév 2013
foo = get(hObject, 'String');
bar = imread(foo{get(hObject, 'Value')});
msgbox(num2str(var(bar(:))));
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!