Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
sassi nizar
sassi nizar 2015 年 11 月 17 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Image Analyst
Image Analyst 2015 年 11 月 17 日
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????

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by