{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/xoftr-cross-modal-feature-matching","title":"XoFTR: Cross-modal Feature Matching Transformer","arxiv_id":"2404.09692","date":"2024-04-15","proceeding":null,"authors":["Önder Tuzcuoğlu","Aybora Köksal","Buğra Sofu","Sinan Kalkan","A. Aydin Alatan"],"abstract":"We introduce, XoFTR, a cross-modal cross-view method for local feature matching between thermal infrared (TIR) and visible images. Unlike visible images, TIR images are less susceptible to adverse lighting and weather conditions but present difficulties in matching due to significant texture and intensity differences. Current hand-crafted and learning-based methods for visible-TIR matching fall short in handling viewpoint, scale, and texture diversities. To address this, XoFTR incorporates masked image modeling pre-training and fine-tuning with pseudo-thermal image augmentation to handle the modality differences. Additionally, we introduce a refined matching pipeline that adjusts for scale discrepancies and enhances match reliability through sub-pixel level refinement. To validate our approach, we collect a comprehensive visible-thermal dataset, and show that our method outperforms existing methods on many benchmarks.","url_abs":"https://arxiv.org/abs/2404.09692v1","url_pdf":"https://arxiv.org/pdf/2404.09692v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"xoftr-cross-modal-feature-matching","repo_url":"https://github.com/ondert/xoftr","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"image-augmentation","task_name":"Image Augmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.09692","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.09692"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ondert/xoftr","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_honours":1,"ran_draft_wrong":2,"ran":4,"unverified":1},"by_repo_kind":{"official":{"samples":8,"ran":7,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"67a8b79fd250e22b","entry":"compute_max_candidates","repo":"ondert/xoftr","repo_kind":"official","path":"src/xoftr/xoftr_module/coarse_matching.py","file_url":"https://github.com/ondert/xoftr/blob/HEAD/src/xoftr/xoftr_module/coarse_matching.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"67a8b79fd250e22b"}},{"code_sha256_prefix":"8ba161d133fcc70b","entry":"conv1x1","repo":"ondert/xoftr","repo_kind":"official","path":"src/xoftr/backbone/resnet.py","file_url":"https://github.com/ondert/xoftr/blob/HEAD/src/xoftr/backbone/resnet.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8ba161d133fcc70b"}},{"code_sha256_prefix":"fac5364e2f53c6db","entry":"conv3x3","repo":"ondert/xoftr","repo_kind":"official","path":"src/xoftr/backbone/resnet.py","file_url":"https://github.com/ondert/xoftr/blob/HEAD/src/xoftr/backbone/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fac5364e2f53c6db"}},{"code_sha256_prefix":"a642a221ca7c4eff","entry":"create_2d_gaussian_kernel","repo":"ondert/xoftr","repo_kind":"official","path":"src/xoftr/utils/supervision.py","file_url":"https://github.com/ondert/xoftr/blob/HEAD/src/xoftr/utils/supervision.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a642a221ca7c4eff"}},{"code_sha256_prefix":"ce0eb36a1f2000b0","entry":"mask_pts_at_padded_regions","repo":"ondert/xoftr","repo_kind":"official","path":"src/xoftr/utils/supervision.py","file_url":"https://github.com/ondert/xoftr/blob/HEAD/src/xoftr/utils/supervision.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ce0eb36a1f2000b0"}},{"code_sha256_prefix":"b8ae61b5c67462ca","entry":"warp_kpts","repo":"ondert/xoftr","repo_kind":"official","path":"src/xoftr/utils/geometry.py","file_url":"https://github.com/ondert/xoftr/blob/HEAD/src/xoftr/utils/geometry.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b8ae61b5c67462ca"}},{"code_sha256_prefix":"a5a46d9a8b0a60be","entry":"warp_kpts_fine","repo":"ondert/xoftr","repo_kind":"official","path":"src/xoftr/utils/geometry.py","file_url":"https://github.com/ondert/xoftr/blob/HEAD/src/xoftr/utils/geometry.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a5a46d9a8b0a60be"}},{"code_sha256_prefix":"4d55e92108cd25e2","entry":"spvs_coarse","repo":"ondert/xoftr","repo_kind":"official","path":"src/xoftr/utils/supervision.py","file_url":"https://github.com/ondert/xoftr/blob/HEAD/src/xoftr/utils/supervision.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4d55e92108cd25e2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}