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

Possible error in camera distortion function #258

Open
Denis-port opened this issue Aug 23, 2024 · 0 comments
Open

Possible error in camera distortion function #258

Denis-port opened this issue Aug 23, 2024 · 0 comments

Comments

@Denis-port
Copy link

Denis-port commented Aug 23, 2024

There is a Kannala-Brandt camera distortion realization in /farm-ng-core/cpp/sophus/sensor/kannala_brandt.h file. Is it an error in function undistort(), line 119?

TScalar th = sqrt(rth);

May be the correct formula has to be:

TScalar th = atan(rth); ?

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

1 participant