Enhancement of feature matching processing distribution amongs available chunks#1928
Merged
servantftransperfect merged 1 commit intodevelopfrom Mar 25, 2026
Merged
Conversation
aab762a to
311b8c6
Compare
311b8c6 to
da38f61
Compare
da38f61 to
0aec769
Compare
c90cc28 to
d3b8005
Compare
d3b8005 to
01272f7
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated 7 comments.
Comments suppressed due to low confidence (1)
src/aliceVision/matchingImageCollection/ImagePairListIO_test.cpp:34
- This test expectation no longer matches the current loadPairsFromFile() behavior: with the default useSymmetry=true, a line "2 0" will be normalized and loaded as pair (0,2), not (2,0). As written, loaded_Pairs will not be equal to pairSetGTsorted. Either update the expected set back to (0,2) or change loadPairsFromFile() semantics/defaults if directionality is intended to be preserved.
PairSet pairSetGTsorted;
pairSetGTsorted.insert(std::make_pair(0, 1));
pairSetGTsorted.insert(std::make_pair(2, 0));
pairSetGTsorted.insert(std::make_pair(1, 2));
BOOST_CHECK(savePairsToFile("pairsT_IO.txt", pairSetGT));
PairSet loaded_Pairs;
BOOST_CHECK(loadPairsFromFile("pairsT_IO.txt", loaded_Pairs));
BOOST_CHECK(std::equal(loaded_Pairs.begin(), loaded_Pairs.end(), pairSetGTsorted.begin()));
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5215470 to
d87c655
Compare
f270974 to
2616d51
Compare
CedricThebault
approved these changes
Mar 25, 2026
2616d51 to
1a04df9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cleanup loading and saving of pairs of indices (Output of ImageMatching)
Removed the "stream" version as they were never used
Cleanup exhaustive generation of pairs of indices (used if no imageMatching output)
Removed the obligation that pair.first < pair.second in the loaded file. This enable to have both directions in the same file (which is required for "star" roma)
Removed error if a pair contains twice the same value (To enable mirror matching)
Distribution of pairs to compute among chunks is now way more efficient ! Previous solution was to use the reference views as the items to distribute; But this is obviously creating problems as the numbers of pairs with the same reference image is not uniform at all.