diff --git a/components/rgbd-sources/src/sources/stereovideo/rectification.cpp b/components/rgbd-sources/src/sources/stereovideo/rectification.cpp index 39e91193c8f46b6ab2bcd31191e9d78338677b08..6e1ef7df3d1384fbc7cefd5ca218b9a8d7c7f4c6 100644 --- a/components/rgbd-sources/src/sources/stereovideo/rectification.cpp +++ b/components/rgbd-sources/src/sources/stereovideo/rectification.cpp @@ -196,10 +196,10 @@ cv::Mat StereoRectification::cameraMatrix(Channel c) { } else { if (c == Channel::Left) { - return calib_left_.intrinsic.matrix(); + return CalibrationData::Intrinsic(calib_left_.intrinsic, image_resolution_).matrix(); } else if (c == Channel::Right) { - return calib_right_.intrinsic.matrix(); + return CalibrationData::Intrinsic(calib_right_.intrinsic, image_resolution_).matrix(); } } throw ftl::exception("Invalid channel, expected Left or Right");