diff --git a/examples/calibrated.py b/examples/calibrated.py index 5e5e011..7eed31d 100644 --- a/examples/calibrated.py +++ b/examples/calibrated.py @@ -110,7 +110,7 @@ } pose_ponly, stats = poselib.estimate_relative_pose( - mkpts0, mkpts1, cam0_dict, cam1_dict, ransac_opt_dict + mkpts0, mkpts1, cam0_dict, cam1_dict, ransac_opt_dict, {} ) R_ponly, t_ponly = pose_ponly.R, pose_ponly.t diff --git a/examples/shared_focal.py b/examples/shared_focal.py index a722771..a6032b5 100644 --- a/examples/shared_focal.py +++ b/examples/shared_focal.py @@ -108,7 +108,9 @@ "min_iterations": 1000, "max_iterations": 10000, } -img_pair, stats = poselib.estimate_shared_focal_relative_pose(mkpts0, mkpts1, pp, ransac_opt_dict) +img_pair, stats = poselib.estimate_shared_focal_relative_pose( + mkpts0, mkpts1, pp, ransac_opt_dict, {} +) shared_focal_pose = img_pair.pose R_ponly, t_ponly = shared_focal_pose.R, shared_focal_pose.t f_ponly = img_pair.camera1.focal() diff --git a/examples/two_focal.py b/examples/two_focal.py index e736ed4..1aa4de6 100644 --- a/examples/two_focal.py +++ b/examples/two_focal.py @@ -109,7 +109,7 @@ "max_iterations": 10000, } -F, stats = poselib.estimate_fundamental(mkpts0, mkpts1, ransac_opt_dict) +F, stats = poselib.estimate_fundamental(mkpts0, mkpts1, ransac_opt_dict, {}) f0, f1 = bougnoux_numpy(F, pp0, pp1) f0_ponly, f1_ponly = np.sqrt(np.abs(f0)), np.sqrt(np.abs(f1))