-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Undistorting the T265 video feed using the onboard intrinsics, wrong values? #3880
Comments
Hi @antithing, because T265 has such a wide field of view, it uses a different distortion model (known as Kannala-Brandt) than the OpenCV default. In OpenCV, this model is referred to in some places as https://docs.opencv.org/3.4/db/d58/group__calib3d__fisheye.html#ga167df4b00a6fd55287ba829fbf9913b9 |
Thank you! that is working better. I am now having some problems triangulating the points though. Is there a function to get the Projection Matrices for the left and right cameras in the sdk? Are there any plans to expose the points and features that the slam uses to the sdk? |
Hi @antithing, you may be interested in this python example which uses OpenCV to undistort the fisheye images and compute a passive stereo image on the center of the field of view: #3951 |
Thank you! That looks like what I need. i don't suppose there is a c++ version of this I can look at? :) |
| Platform | PC |
| SDK Version | { legacy / 2.20 } |
| Language | {C++} |
Issue Description
I am trying to write a triangulation function with my t265 camera, in order to create a sparse point cloud from feature points.
I am having trouble getting the images to undistort, despite using the factory calibrated values.
I use the intrinsics from the sdk:
and then run an open cv undistort, using these matrices:
and it seems to have only very little effect.
original image:
'undistorted' image:
Where am i going wrong? Are these intrinsics correct?
Thank you,.
The text was updated successfully, but these errors were encountered: