First time here? Check out the FAQ!
answered 2014-10-14 09:22:18 -0600
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 )