Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Image display with button,calculation and display value with other buttons problem

1 visualizzazione (ultimi 30 giorni)
I'm building a GUI and i have stuck and can't find the solution!So i have this figure(the image).First i want the pushbutton1 to do this a=imread('C:\Users\ADMIN\Desktop\canada.bmp'); level=graythresh(a); bw=im2bw(a,level); imgcon=imcontour(bw); and also to return the contoured image in axes2. My second pushbutton2 want to do some calculation T=array2table(imgcon.', 'VariableNames', {'J', 'K'}); totsum=((sum(T.J.^0))*(sum(T.K.^0))); It is very importart to have the table so to calculate some values. and return this value(totsum) in edit text1. Am i doing something wrong or please help me with the coding because i'm new to matlab

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by