This is a notebook for determining intrinsic parameters of fisheye lenses (principal point, focal length). It is based on maximizing collinearity of a chessboard pattern undistorted to rectilinear projection. The lens model used is PTGui parametric fisheye projection.
I didn't have luck with out-of-the-box OpenCV fisheye calibration, so I just used the chessboard preprocessing and created a simpler, hopefully more robust alternative.
It can be useful for:
- setting initial camera intrinsics for COLMAP
- measuring the focal length and projection of your fisheye lens
uv sync
jupyter lab
Open the fisheye_lens_model.ipynb notebook, then follow the instructions there.
MIT (see LICENSE.txt).
