How can i resolve the following error in Matlab code in "main.m" file

2 次查看(过去 30 天)
Reference to non-existent field 'Area'. Error in main (line 71) area(i) = stats(i).Area;
  2 个评论
Walter Roberson
Walter Roberson 2018-8-11
You used regionprops but you did not pass 'Area' to it.
Or, there is a path in your code in which the regionprops() is not done.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by