zju3dv / LoFTR

Code for "LoFTR: Detector-Free Local Feature Matching with Transformers", CVPR 2021, T-PAMI 2022
https://zju3dv.github.io/loftr/
Apache License 2.0
2.19k stars 347 forks source link

About high-resolution image matching? #247

Open chufall opened 1 year ago

chufall commented 1 year ago

Hi, thank you for your excellent work! I have some high-resolution(4k) images about, so if i resize these image into the 640x480, it will lost many details and effect the accuracy of the matching. Any suggestion about 4k images mathing?
The way i thought is to split the image into several patches. Is it ok?

Thanks a lot qc

xmba15 commented 1 year ago

I did split the image into several patches and did image matching for each patch pair using LOFTR, merging all the matched key points after that. Of course, you need to know that this patch of this image corresponds to which patch of the target image if you follow this approach.