Ask Your Question

Revision history [back]

Fisheye Stereo Rectification and Disparity

Good day, I am trying for stereo calibration and rectification. After that I will create disparity map. For stereo calibration and rectification, I used this code:

https://github.com/sourishg/fisheye-stereo-calibration

In my code, I took the parameters and used fisheye::initUndistortRectifyMap and remap for rectification. However, I can't even see the %2 of the image. I don't where is wrong. The images are:

Left

Right

And after rectification, the result:

Result

The exact code I am using is in this repo, and will be update for sure:

My repository

I am thinking that in function initUndistortRectifyMap, I use somehing wrong. Actually it is easy, I give K and D, R and P, which means camera matrix, distortion coefs, rectification and projection. After that it should solve it. when I don't give R and P, I give identity for R and camera matrix for P. In this way, at least I get some result. The result can be seen in here:

Better image

Thanks for the help. I can give any info. You can find calibration results in the repo also. Every file you need is in the repo and ready. You can do the calibration with the repo link in the above also. Thanks in advance.

Fisheye Stereo Rectification and Disparity

Good day, I am trying for stereo calibration and rectification. After that I will create disparity map. For stereo calibration and rectification, I used this code:

https://github.com/sourishg/fisheye-stereo-calibration

In my code, I took the parameters and used fisheye::initUndistortRectifyMap and remap for rectification. However, I can't even see the %2 of the image. I don't where is wrong. The images are:

Left

RightLeft

Right

And after rectification, the result:

ResultResult

The exact code I am using is in this repo, and will be update for sure:

My repository

I am thinking that in function initUndistortRectifyMap, I use somehing wrong. Actually it is easy, I give K and D, R and P, which means camera matrix, distortion coefs, rectification and projection. After that it should solve it. when I don't give R and P, I give identity for R and camera matrix for P. In this way, at least I get some result. The result can be seen in here:

Better image

Thanks for the help. I can give any info. You can find calibration results in the repo also. Every file you need is in the repo and ready. You can do the calibration with the repo link in the above also. Thanks in advance.

Fisheye Stereo Rectification and Disparity

Good day, I am trying for stereo calibration and rectification. After that I will create disparity map. For stereo calibration and rectification, I used this code:

https://github.com/sourishg/fisheye-stereo-calibration

In my code, I took the parameters and used fisheye::initUndistortRectifyMap and remap for rectification. However, I can't even see the %2 of the image. I don't where is wrong. The images are:

Left

Right

And after rectification, the result:

Result

The exact code I am using is in this repo, and will be update for sure:

My repository

I am thinking that in function initUndistortRectifyMap, I use somehing wrong. Actually it is easy, I give K and D, R and P, which means camera matrix, distortion coefs, rectification and projection. After that it should solve it. when I don't give R and P, I give identity for R and camera matrix for P. In this way, at least I get some result. The result can be seen in here:

Better image

Thanks for the help. I can give any info. You can find calibration results in the repo also. Every file you need is in the repo and ready. You can do the calibration with the repo link in the above also. Thanks in advance.

Edit: Dataset link -> https://drive.google.com/drive/folders/1ejuj35ESDdW8gaPVc5s5j3nhVIeBRbnP