Hello together,
In my workflow I'm detecting matches between images not only by using Metashape, but also with my own python program. These matches I want to add to a project as well (by using python). As this is not supported yet with a function, I try to apply a work-around by directly editing in the project .files.
So far I've found out the following:
- The matches are saved in the pointcloud.zip, more detailed in the p0.ply to px.ply (every ply-file corresponds to one image)
- Each ply file contains 4 columns: x, y, size and id.
- x and y describe the coordinates of a point and id is a unique identifier (integer) for a position/match. Points from different ply files with the same id point to the same position/are matches
- Furthermore there is a tracks.ply with just one column "color". The number of entries are similar to the number of matches. However, the same number can be multiple times in that ply file, so the entries in this file are not unique.
I would have two questions now:
- What does the column size in the pX.ply file stand for? Is it a quality metric?
- For what is tracks.ply required? It is somehow also required for matching, because if I fill it with default values (e.g. just with the value of "1"), I see my own matches in Metashape, but the alignment then fails.
Thanks a lot for help!