Public bug reported: the version of opencv in dapper seems to return faulty values when doing ellipse fitting; almost all valid input sequences of points return Inf and NaN for most (meaning no ellipse can be fitted onto the given sequence of points), running the same example with the same input data on a Windows machine (same opencv version) or on another version of opencv (tested with opencv 0.9.9 == 1.0rc1) yields correct values.
the opencv team reports that some versions should not be compiled with gcc 4.0 (please lookup: http://opencvlibrary.sourceforge.net); as gcc-4.0 is the default compiler for Ubuntu (I think) this can be one source of problem. In order to test for this particular bug please run the example program fitellipse located at /samples/c/fitellipse in the source tarball; with the default threshold of 70 (as choosen at startup), the black round thing should be correctly fitted into an ellipse. this current version of opencv (0.9.6-4.1build1) does not correctly find this ellipse; however version 1.0rc1 does. I am running this on a AMD64 machine with Ubuntu AMD64. ** Affects: opencv (Ubuntu) Importance: Untriaged Status: Unconfirmed -- cvFitEllipse() function does not work https://launchpad.net/bugs/62284 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
