Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Tomazi,

if you want the properties of the rectangle, berak gave you the right answer.

But if you want the properties of the segmented regions (area, center of mass, ...) you can compute the Moments of the detected contours. Examples can be found here and here here.