how to find the area of bounding box?

2 ビュー (過去 30 日間)
ezhil K
ezhil K 2019 年 2 月 12 日
回答済み: Shikhar Ghimire 2019 年 4 月 16 日
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

回答 (1 件)

Shikhar Ghimire
Shikhar Ghimire 2019 年 4 月 16 日
Show us the full code so that we can understand what each variable does

カテゴリ

Help Center および File ExchangeSpecialized Power Systems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by