how to find the area of bounding box?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to extract the bounding box regions whose area>200.But, I get error as follows.How should I rectify it?
Error:
Reference to non-existent field 'Area'.
Error in Shi_tomashi (line 142)
if stats(index).Area > 200 && stats(index).BoundingBox(3)*stats(index).BoundingBox(4) < 30000
![my new image.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/203762/my%20new%20image.png)
댓글 수: 0
답변 (1개)
Shikhar Ghimire
2019년 4월 16일
Show us the full code so that we can understand what each variable does
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!