alicevision / Meshroom

3D Reconstruction Software
http://alicevision.org
Other
11.07k stars 1.08k forks source link

How to interpret imageMatches.txt file #1657

Open bgpantojar opened 2 years ago

bgpantojar commented 2 years ago

Hello,

I would like to ask how I could interpret the content in the imageMatches.txt file, which is output from the ImageMatching and Image MatchingMultiSfM. One of the lines of the file is seen in the next figure:

Screenshot from 2022-03-31 18-29-47

I know that each number corresponds to the poseId (viewId). Is it possible to say that the id numbers that are right before and right after correspond to the images that are most similar to the one in the middle?

Is there any difference in this relation between the files coming from the node ImageMatching and the node MatchingMultiSfM?

Best, Bryan

fabiencastan commented 2 years ago

Each line starts with the ViewId of an input image and the other ViewIds on the same line are images to match.

For instance:

B A
C A B

It means: BA, CA, CB.

Same for both nodes.

bgpantojar commented 2 years ago

Understand. Is there any output in which I can see the matched pair images. I would like to get the two most similar images to another (I guess it could be the pair used to compute the fundamental matrix). That information is x.matches.txt files from FeatureMatching, right?