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

How to convert camera parameters to OpenCV format? #8

Open
DWendou opened this issue Jan 8, 2024 · 1 comment
Open

How to convert camera parameters to OpenCV format? #8

DWendou opened this issue Jan 8, 2024 · 1 comment

Comments

@DWendou
Copy link

DWendou commented Jan 8, 2024

How to calculate K and D in OpenCV internal parameter format based on polynomial coefficents and stretch matrix?

@GuicarMIS
Copy link

Hi @DWendou,
With @EvaGoichon, we are going to publish a paper at ICRA 2024 on the topic of conversion between camera models and we share the code at: https://github.com/PerceptionRobotique/libPeR_base (see the examples *CameraModelConversion).

We did not do (yet) the conversion of the Cartesian Polynomial model (OCamCalib's model) to OpenCV's versions of the Kannala-Brandt model (nor the perspective with Rational Polynomial distorsions model but I guess it is the fisheye one you are interested in?) and it is not our priority now. If you are in a hurry, I think you can take inspiration of our methods to make it yourself (and if you are stuck, we can have a look together if you want).

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

2 participants