Code Monkey home page Code Monkey logo

ellipsefit's People

Contributors

seisgo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ellipsefit's Issues

无法找到源文件algo_global.h

大佬您好,我刚刚接触C++不久,在配置环境这里一直是懵懵的。想借鉴你的代码实现瞳孔检测中的椭圆拟合,但是遇到了 无法找到源文件algo_global.h 的问题,同时提示无法打开源文件QVector,希望你能指点我一下。
环境为vs2017,QT5.12.1,clapack库已经配置好。
image

clapack的问题

您好,我在Vs2019上配置了clapack3.2.1,运行您的程序时出现类似:
错误 C2065 “complex”: 未声明的标识符 (编译源文件 DirectEllipseFit.cpp) QtWeld C:\Program Files\CLAPACK\include\clapack.h 78
错误 C2065 “incx”: 未声明的标识符 (编译源文件 DirectEllipseFit.cpp) QtWeld C:\Program Files\CLAPACK\include\clapack.h 81
请问是我clapack的配置出问题导致的吗?

RANSAC filtering function is not correct

RANSAC filtering on each iteration is supposed to choose a minimal number of points to fit a model of ellipse and measure which other points agree with this model (inliers). In the current implementation, on each iteration, 3 datapoints are chosen, and two of them are treated as focal points of an ellipse. That is incorrect, because the goal is to identify the ellipse parameters from the sampled points, including the focal points.
In a general case, one needs at least 5 points to define an ellipse, less if there is info on the center:
https://math.stackexchange.com/questions/880258/minimal-number-of-points-to-define-a-rotated-ellipse
A possible solution is to change the function to sample 4 points (without replacement) from dataset. Use them to estimate the two foci, e.g. using one of the funcEllipseFit functions. That can be used to measure the distance from each of the sample points to the foci. All datapoints which distance to the foci is close to the average sample distance can be treated as 'inliers'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.