Hope you are doing well. I used kalibr, MATLAB, and openCV to calibrate my Raspberry Pi V2. All three of them resulted in nearly the same distortion parameters, which are as follows:
Radial: k1 = 0.15185527460985995, k2 = -0.2585916365979772
and
Tangential: k3 = -0.005451906782185835, k4 = -0.0031241153335523227 .
However, when I try to undistort the images using MATLAB, it gives me wrong (at least seemingly!) result. For instance, this is the original image:
and here is the undistorted image:
I think this is incorrect since those black edges do not appear for the EuRoC mav dataset images, when I try to undistort them! However, If the result is correct, then what should I do to remove the black edges? will it affect my visual odometry algorithm?
Hi,
Hope you are doing well. I used kalibr, MATLAB, and openCV to calibrate my Raspberry Pi V2. All three of them resulted in nearly the same distortion parameters, which are as follows:
Radial: k1 = 0.15185527460985995, k2 = -0.2585916365979772
andTangential: k3 = -0.005451906782185835, k4 = -0.0031241153335523227
. However, when I try to undistort the images using MATLAB, it gives me wrong (at least seemingly!) result. For instance, this is the original image: and here is the undistorted image: I think this is incorrect since those black edges do not appear for the EuRoC mav dataset images, when I try to undistort them! However, If the result is correct, then what should I do to remove the black edges? will it affect my visual odometry algorithm?Ideas are appreciated!