UPGo-McGill / matchr

Fast and Reliable Matching of Images
Other
2 stars 0 forks source link

Track y_total better in vec_restore.matchr_matrix #7

Open dwachsmuth opened 3 years ago

dwachsmuth commented 3 years ago

Currently the y_total attribute is calculated correctly inside match_signatures (by calculating from the input vectors) but then incorrectly reassembled in vec_restore.matchr_matrix (which doesn't have access to the input vectors). Is there some way to track this properly, accounting for the possibility of duplicate images in the input vectors? (I.e. something like unique(unlist(field(x, "y_file"))) wouldn't work.

Or is the answer to have the x_total and y_total simply report unique paths in the first place?