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:
And after rectification, the result:
The exact code I am using is in this repo, and will be update for sure:
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:
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.