perform var(image(:)) operation in gui
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
please,provide me a demo code for 5 images read in GUI using popup menu and perform var(image(:)) operation in gui
2 comentarios
Walter Roberson
el 6 de Feb. de 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?
Respuesta aceptada
Walter Roberson
el 6 de Feb. de 2013
foo = get(hObject, 'String');
bar = imread(foo{get(hObject, 'Value')});
msgbox(num2str(var(bar(:))));
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!