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

조회 수: 1 (최근 30일)
Syed Zenith Rhyhan
Syed Zenith Rhyhan 2018년 8월 11일
댓글: Walter Roberson 2018년 8월 11일
Reference to non-existent field 'Area'. Error in main (line 71) area(i) = stats(i).Area;
  댓글 수: 2
Rik
Rik 2018년 8월 11일
Have a read here (or here for more general advice) and here. It will greatly improve your chances of getting an answer.
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