From 2f46fb3fedee17cf6cb257db84f6be8fc1de5732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Magnenat?= Date: Mon, 12 Jun 2023 14:19:41 +0200 Subject: [PATCH] Akaze: updated test values following corrections it the algorithm. --- akaze/tests/estimate_pose.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/akaze/tests/estimate_pose.rs b/akaze/tests/estimate_pose.rs index 3ff585b1..f1a6b4ae 100644 --- a/akaze/tests/estimate_pose.rs +++ b/akaze/tests/estimate_pose.rs @@ -38,7 +38,7 @@ fn estimate_pose() { // This ensures the underlying algorithm does not change // by making sure that we get the exact expected number of features. - assert_eq!(ds1.len(), 398); + assert_eq!(ds1.len(), 399); assert_eq!(ds2.len(), 343); // Perform matching. @@ -56,7 +56,7 @@ fn estimate_pose() { }) .collect(); info!("Finished matching with {} matches", matches.len()); - assert_eq!(matches.len(), 12); + assert_eq!(matches.len(), 9); // Run ARRSAC with the eight-point algorithm. info!("Running ARRSAC"); @@ -72,7 +72,7 @@ fn estimate_pose() { ); // Ensures the underlying algorithms don't change at all. - assert_eq!(inliers.len(), 12); + assert_eq!(inliers.len(), 9); } fn match_descriptors(ds1: &[Descriptor], ds2: &[Descriptor]) -> Vec<(usize, usize)> {