bytedance / R2Former

Official repository for R2Former: Unified Retrieval and Reranking Transformer for Place Recognition
Apache License 2.0
83 stars 6 forks source link

the visualization of local feature point matching #18

Open LastEgg opened 2 months ago

LastEgg commented 2 months ago

Hello,

I am very fortunate to have read your paper. It has greatly inspired me in my experiments. I would like to know how you achieved the visualization of local feature point matching in your paper. I hope to receive your source code. image

Jeff-Zilence commented 3 weeks ago

This is achieved by computing the similarity between the embedding of all the patches of the two images and find the highest one for each patch. The patches with the highest attention score in the vit backbone is then selected for this figure. Hope this can help you get the figure.