Show us the full code so that we can understand what each variable does
how to find the area of bounding box?
1 次查看(过去 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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specialized Power Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!