mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
aux/tracking: assert on fisheye mat size for fisheye path
This commit is contained in:
parent
5eb739bb1a
commit
17034f0283
|
@ -547,7 +547,7 @@ t_stereo_camera_calibration_to_json_v2(cJSON **out_cjson, struct t_stereo_camera
|
|||
jb << "distortion";
|
||||
jb << "{";
|
||||
if (view.use_fisheye) {
|
||||
int n = view.distortion_mat.size().area(); // Number of distortion parameters
|
||||
int n = view.distortion_fisheye_mat.size().area(); // Number of distortion parameters
|
||||
CALIB_ASSERT_(n == 4);
|
||||
|
||||
constexpr array names{"k1", "k2", "k3", "k4"};
|
||||
|
|
Loading…
Reference in a new issue