When doing a descriptor matching the DMatches have a distance, I would like to know if there is a logic behind and what is it? I am doing multiple matches on different groups of descriptors, and maybe the best-match is not entirely correct, so I would like to do a filter on distances and this will be easier if I would know the logic behind, without trying to understand the code if it is possible :p