Skip to content

Commit

Permalink
Forgot to enable essential matrix optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
travisdriver committed Oct 16, 2024
1 parent ae4df2f commit 93a5682
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ def run(
triplets: List[Tuple[int, int, int]] = graph_utils.extract_cyclic_triplets_from_edges(input_edges)
logger.info("Number of triplets: %d" % len(triplets))

# # Optimize essential matrices.
# i2Ri1_dict, i2Ui1_dict = self.optimize_essential_matrices(
# triplets, i2Ri1_dict, i2Ui1_dict, calibrations, corr_idxs_i1i2, keypoints
# )
# Optimize essential matrices.
i2Ri1_dict, i2Ui1_dict = self.optimize_essential_matrices(
triplets, i2Ri1_dict, i2Ui1_dict, calibrations, corr_idxs_i1i2, keypoints
)

# Compute the cycle error for each triplet, and add it to its edges for aggregation.
per_edge_errors = defaultdict(list)
Expand Down

0 comments on commit 93a5682

Please sign in to comment.