Skip to content

Refactoring/making similarity consistent#39

Merged
ovysotska merged 4 commits into
mainfrom
refactoring/making_similarity_consistent
Jul 2, 2025
Merged

Refactoring/making similarity consistent#39
ovysotska merged 4 commits into
mainfrom
refactoring/making_similarity_consistent

Conversation

@ovysotska

Copy link
Copy Markdown
Owner

This PR introduces proper naming for the variables. In 99% of cases the cost matrix is changed to the similarity matrix to avoid confusion. The bigger the similarity the more similar the images are, the bigger the costs the more dissimilar the images are. The costs are only used in the online_localizer because they are used in the graph search. Everything else works on similarity values/scores.

This PR also breaks the compatibility with previously processed data because it renames the proto message from CostMatrix to SimilarityMatrix. The solution is to recompute the datasets starting from python run_matching_from_images.py ...

@ovysotska ovysotska merged commit 221c440 into main Jul 2, 2025
2 checks passed
@ovysotska ovysotska deleted the refactoring/making_similarity_consistent branch July 2, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant