Potential fix for wrogn k3 value after solve
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 1 Aug 2013 16:34:55 +0000 (16:34 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 1 Aug 2013 16:34:55 +0000 (16:34 +0000)
extern/libmv/libmv-capi.cc

index 990b40df90a47ded14054863afe810306eefedf8..063c63f9266b59eb9b3be8288c7bbef1632c6dd6 100644 (file)
@@ -1014,6 +1014,7 @@ void libmv_cameraIntrinsicsExtract(const struct libmv_CameraIntrinsics *libmv_in
        *principal_y = camera_intrinsics->principal_point_y();
        *k1 = camera_intrinsics->k1();
        *k2 = camera_intrinsics->k2();
+       *k3 = camera_intrinsics->k3();
 }
 
 void libmv_cameraIntrinsicsUndistortByte(const struct libmv_CameraIntrinsics *libmv_intrinsics,