-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Camera Calibration Values #2396
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
Comments
You can approximate the camera intrinsics using the following formula Horizontal FoV = 2 * arctan( width / 2f ) (then assuming fx = fy = f) The default field of view of the camera is 90 degrees, so your focal length ends up being half of the image width in pixels. cx and cy can be set to w/2 and h/2 as well. The distortion is See the discussion in #269, as well as the intrinsics computation in the ros wrapper :
for more details. |
@saihv what would be the distortion parameters? I imagine they would all be set to 0. The experimentation done here: #269 (comment) indicates this. See here, the distortion parameters, k1, k2, k3, p1, p2: https://docs.opencv.org/4.5.3/dc/dbb/tutorial_py_calibration.html |
@NickPerezCarletonUniversity By default, yes, the distortion parameters are all zeroes. You can change them to desired values through our camera distortion API |
Can Airsim support fisheye model, such as Kananla Brandt 8 model? |
@saihv Is the sensor size know or pixel size in mm? Or is there a way to get the intrinsic matrix in SI units? |
Is this camera calibration valid for other FOV's? I cannot seem to get good results using the above formula. |
I was wondering if anyone had the camera calibration values for the camera used in AirSim. Currently, I'm interested in using AirSim as a tool to test out SLAM and object detection algorithms, and in order to do so, I need the camera calibration values for the camera.
If no one does, then I'm wondering if anyone can help me create the checkerboard in AirSim, which is required for the camera calibration procedure.
The text was updated successfully, but these errors were encountered: