Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to get output in edit box of for loop in matlab gui?

1 vue (au cours des 30 derniers jours)
HEMANGI NALE
HEMANGI NALE le 25 Avr 2019
Clôturé : Walter Roberson le 25 Avr 2019
im = imread('image5.jpg');
bw= im2bw(im,0.7);
label=bwlabel(bw);
stats=regionprops(label,'Solidity','Area');
density=[stats.Solidity];
area=[stats.Area];
high_dense_area=density>0.8;
max_area=max(area(high_dense_area));
a = max_area
if (100<a<250)
fprintf('stage 1a');
else
fprintf('stage0');
end
  1 commentaire
Walter Roberson
Walter Roberson le 25 Avr 2019
https://www.mathworks.com/matlabcentral/answers/458428-how-to-get-output-of-for-loop-in-edit-box-for-matlab-gui is more complete question

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by