Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization of reprojection error in C++ - looking for solver #10

Open
zacniewski opened this issue Apr 15, 2019 · 3 comments
Open

Optimization of reprojection error in C++ - looking for solver #10

zacniewski opened this issue Apr 15, 2019 · 3 comments

Comments

@zacniewski
Copy link

Hi Matt,
I'm working on C++ version of this code. Only optimization of reprojection error left to translate. Could you suggest C++ library that could help in this problem? I'm looking for solver to translate lines 731-748 into C++. I tried dlib, now struggling with Ceres Solver. Do you have any suggestion?

Best regards
Artur

@lhwcv
Copy link

lhwcv commented Apr 28, 2019

@zacniewski Maybe nlopt is another choice. I'm also working on C++ version, but blocked by 'Powell' sorver in C++ , I have tried some other optimization methods, the result is not good. Any share in ceres?

@zacniewski
Copy link
Author

Ceres Solver requires computing derivatives w.r.t. parameters. I can't do that and no one on Stack Overflow and Ceres Google group could help me. But I found PRAXIS, which seems to be C++ equivalent of method used by Matt - https://people.sc.fsu.edu/~jburkardt/cpp_src/praxis/praxis.html
I modified code of praxis to my needs and it seems to work properly.

@starseeker
Copy link

Hi! Wanted to ask - is the C++ version of this code you're working on also open source? I didn't see it on github, so I wasn't sure...

Also, would the work in the https://github.com/ZiqianXie/page_dewarp branch be helpful for getting off the Powell solver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants