About Bounding Box

How to get the properties(width and ul_corner) of the bounding box? Im using the bounding box for detecting the object. now i need to find the height and width of the object in pixels.

Réponses (1)

Walter Roberson
Walter Roberson le 29 Avr 2011

0 votes

If you are using regionprops reshape(TheBoundingBox,[],2) . Then the first column will be the ul_corner and the second column will be the corresponding widths.

Produits

Question posée :

K R
le 29 Avr 2011

Community Treasure Hunt

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

Start Hunting!

Translated by