Skip to content
Snippets Groups Projects
Commit 7c017eba authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Update focal in Q matrix

parent 6713155c
No related branches found
No related tags found
No related merge requests found
Pipeline #11808 passed
......@@ -119,6 +119,7 @@ void Calibrate::updateCalibration(const ftl::rgbd::Camera &p) {
std::pair<Mat, Mat> map1, map2;
Q_.at<double>(3,2) = 1.0 / p.baseline;
Q_.at<double>(2,3) = p.fx;
initUndistortRectifyMap(M1_, D1_, R1_, P1_, img_size_, CV_32FC1, map1.first, map2.first);
initUndistortRectifyMap(M2_, D2_, R2_, P2_, img_size_, CV_32FC1, map1.second, map2.second);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment