how to find the area of bounding box?

2 vues (au cours des 30 derniers jours)
ezhil K
ezhil K le 12 Fév 2019
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

Réponses (1)

Shikhar Ghimire
Shikhar Ghimire le 16 Avr 2019
Show us the full code so that we can understand what each variable does

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by