Info

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

I have tried to get the area of the blobs in the image but this errors appears

1 vue (au cours des 30 derniers jours)
sassi nizar
sassi nizar le 17 Nov 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
Attempted to access yC(3); index out of bounds because numel(yC)=2.
Error in Contour2Area (line 24) s=(xC(2)-xC(1))*(yC(3)-yC(2))-(xC(3)-xC(2))*(yC(2)-yC(1));
Error in test (line 34) [Area,Centroid]=Contour2Area(cf);
  1 commentaire
Image Analyst
Image Analyst le 17 Nov 2015
We're going to need you to read this and give us more code than that. I don't even know what yC is. Is it a bounding box, a centroid, what????

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