-
Notifications
You must be signed in to change notification settings - Fork 18
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
Calibrate custom camera #9
Comments
My code can solve the disparity given only the trajectory and calibration fields. I linked a GIST Matlab script in Readme for generating the fields given the intrinsic and extrinsic calibration parameters. However, I only have the Kannala-Brandt (KB) model for this.
Just replace these lines with your model:
I suppose a 180degree fisheye camera might require a different model (like Universal Camera Model) but I don't know how to do the calibration for that. If you can ignore the curvature at extreme angles, then KB model is okay. OpenCV has a calibration method for finding the intrinsic matrices (K and distortion D). For the extrinsic matrix (R, t) that depends. You didn't say if you're using a monocular camera or a stereo camera. Stereo is straightforward (OpenCV) but monocular is a little bit hard (scale problem). So, once you have the intrinsic and extrinsic matrices (K, D, R, t), you can use my Matlab script to generate the translation and calibration vectors and then use that for the code. |
Wow thank you so much for your detailed answer! |
Hi there,
I really like the VFS-Project and would like to use it with a custom camera and a 180 degree fisheye lens.
How would I go about this? What would I have to do in regards to calibration and setup?
Thanks,
Tom
The text was updated successfully, but these errors were encountered: