Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

work for me :

double eccentricity2( vector<point> &contour ){ RotatedRect ellipse = fitEllipse( contour ); return ellipse.size.height / ellipse.size.width; }

( it's not normalize + maybe width/heigth )