Loading functional_tests/test_two_image.py +7 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,11 @@ class TestTwoImageMatching(unittest.TestCase): # Create fundamental matrix cg.compute_fundamental_matrices(clean_keys= ['symmetry', 'ratio']) # Create fundamental matrix cg.compute_fundamental_matrix(clean_keys=['fundamental']) print(edge.masks['fundamental'].sum()) for source, destination, edge in cg.edges_iter(data=True): # Perform the symmetry check Loading @@ -76,6 +81,8 @@ class TestTwoImageMatching(unittest.TestCase): # Perform the ratio test self.assertIn(edge.masks['ratio'].sum(), range(30, 100)) # self.assertIn(edge.masks['fundamental'].sum()) # Step: Compute the homographies and apply RANSAC cg.compute_homographies(clean_keys=['symmetry', 'ratio']) Loading Loading
functional_tests/test_two_image.py +7 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,11 @@ class TestTwoImageMatching(unittest.TestCase): # Create fundamental matrix cg.compute_fundamental_matrices(clean_keys= ['symmetry', 'ratio']) # Create fundamental matrix cg.compute_fundamental_matrix(clean_keys=['fundamental']) print(edge.masks['fundamental'].sum()) for source, destination, edge in cg.edges_iter(data=True): # Perform the symmetry check Loading @@ -76,6 +81,8 @@ class TestTwoImageMatching(unittest.TestCase): # Perform the ratio test self.assertIn(edge.masks['ratio'].sum(), range(30, 100)) # self.assertIn(edge.masks['fundamental'].sum()) # Step: Compute the homographies and apply RANSAC cg.compute_homographies(clean_keys=['symmetry', 'ratio']) Loading