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

The K4 intrinsic parameter in nerfstudio doesn't match OpenCV or COLMAP #3355

Closed
devernay opened this issue Aug 9, 2024 · 0 comments
Closed

Comments

@devernay
Copy link
Contributor

devernay commented Aug 9, 2024

Describe the bug

OpenCV (source) and COLMAP (source) both use the rational fraction radial distortion model described In the OpenCV doc.

nerfstudio (source) uses a fourth order radial distortion polynomial, which has a totally different meaning for parameter k4. This seems to be inherited from other NeRF code.

Consequently, any project that uses a camera model with a non-zero k4 (which probably doesn't happen often) will be wrongly processed.

Several options:

  • stop supporting k4 in nerfstudio
  • stop supporting loading k4 in the colmap dataparser, and throw an error on non-zero k4, k5 or k6
  • support COLMAP and OpenCV's k4 in nerfstudio, and throw an error on non-zero k5 or k6 in the COLMAP dataparser
@kerrj kerrj closed this as completed in 02d45c1 Aug 25, 2024
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