Supports

Monday, December 24, 2007

CALCULATION OF FEATURES

CALCULATION OF FEATURES

Aspect ratio:
It is also called a elongation or eccentricity, defined by the ratio of bounding box of an object.

Aspect ratio = Cmax - Cmin + 1 / Rmax – Rmin +1

Area:
Product of the image height and the width

Area = height of the image * width of the image

Perimeter:
Twice the product of the image height and width
Perimeter = 2 * (height of the image + width of the image)

No comments: