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

k1 distortion parameter for KANNALA_BRANDT camera model? #118

Open
sandeepnmenon opened this issue Jun 3, 2022 · 1 comment
Open

k1 distortion parameter for KANNALA_BRANDT camera model? #118

sandeepnmenon opened this issue Jun 3, 2022 · 1 comment

Comments

@sandeepnmenon
Copy link
Contributor

As per OpenCV, the KANNALA_BRANDT mode has the camera parameters named
fx, fy, cx, cy, and distortion parameters as k1, k2, k3 and k4

However, as mentioned in the code in this repo
https://github.com/hengli/camodocal/blob/7211aaf6869c94e5de4696c93ece8ade975a3e56/src/camera_models/EquidistantCamera.cc#L17-29

I understand that mu and mv are fx and fy respectively
Similarly, u0 and v0 are cx and cy respectively.

How about the distortion coefficients? Where is the parameter k1?

@fickrie67
Copy link

As per OpenCV, the KANNALA_BRANDT mode has the camera parameters named fx, fy, cx, cy, and distortion parameters as k1, k2, k3 and k4

However, as mentioned in the code in this repo https://github.com/hengli/camodocal/blob/7211aaf6869c94e5de4696c93ece8ade975a3e56/src/camera_models/EquidistantCamera.cc#L17-29

I understand that mu and mv are fx and fy respectively Similarly, u0 and v0 are cx and cy respectively.

How about the distortion coefficients? Where is the parameter k1?

k1 is 1 here

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