{"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/pixel-perfect-structure-from-motion-with","title":"Pixel-Perfect Structure-from-Motion with Featuremetric Refinement","arxiv_id":"2108.08291","date":"2021-08-18","proceeding":"ICCV 2021 10","authors":["Philipp Lindenberger","Paul-Edouard Sarlin","Viktor Larsson","Marc Pollefeys"],"abstract":"Finding local features that are repeatable across multiple views is a cornerstone of sparse 3D reconstruction. The classical image matching paradigm detects keypoints per-image once and for all, which can yield poorly-localized features and propagate large errors to the final geometry. In this paper, we refine two key steps of structure-from-motion by a direct alignment of low-level image information from multiple views: we first adjust the initial keypoint locations prior to any geometric estimation, and subsequently refine points and camera poses as a post-processing. This refinement is robust to large detection noise and appearance changes, as it optimizes a featuremetric error based on dense features predicted by a neural network. This significantly improves the accuracy of camera poses and scene geometry for a wide range of keypoint detectors, challenging viewing conditions, and off-the-shelf deep features. Our system easily scales to large image collections, enabling pixel-perfect crowd-sourced localization at scale. Our code is publicly available at https://github.com/cvg/pixel-perfect-sfm as an add-on to the popular SfM software COLMAP.","url_abs":"https://arxiv.org/abs/2108.08291v1","url_pdf":"https://arxiv.org/pdf/2108.08291v1.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":"pixel-perfect-structure-from-motion-with","repo_url":"https://github.com/cvg/pixel-perfect-sfm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"pixel-perfect-structure-from-motion-with","repo_url":"https://github.com/GCVCG/VolETA-MetaFood","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"pixel-perfect-structure-from-motion-with","repo_url":"https://github.com/gcvcg/voltex","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"3d-reconstruction","task_name":"3D Reconstruction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2108.08291","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2108.08291"}},"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/GCVCG/VolETA-MetaFood","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/cvg/pixel-perfect-sfm","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/gcvcg/voltex","reach":{"status":"ok"}}],"summary":{"unverified":10},"by_repo_kind":{"official":{"samples":10,"ran":0,"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":"b974d72e6b4fdcc1","entry":"add_ba_args","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/refine_colmap.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/refine_colmap.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":"b974d72e6b4fdcc1"}},{"code_sha256_prefix":"2efd85018b3ebce4","entry":"add_ka_args","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/refine_colmap.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/refine_colmap.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":"2efd85018b3ebce4"}},{"code_sha256_prefix":"85b2e112fce4ef28","entry":"dynamic_load","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/features/extractor.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/features/extractor.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":"85b2e112fce4ef28"}},{"code_sha256_prefix":"c49bebebd2d0d852","entry":"extract_patches_numpy","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/features/extract_patches.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/features/extract_patches.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":"c49bebebd2d0d852"}},{"code_sha256_prefix":"34d2e6e6ae9eabec","entry":"extract_patches_torch","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/features/extract_patches.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/features/extract_patches.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":"34d2e6e6ae9eabec"}},{"code_sha256_prefix":"ed236a1b29462481","entry":"get_keypoints_and_ids","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/extract.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/extract.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":"ed236a1b29462481"}},{"code_sha256_prefix":"d84117ffd35ddabc","entry":"numpy_get_patch","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/features/extract_patches.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/features/extract_patches.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":"d84117ffd35ddabc"}},{"code_sha256_prefix":"aa29f90e86b9dcfd","entry":"write_featuremap_cache_chunked","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/features/store_features.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/features/store_features.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":"aa29f90e86b9dcfd"}},{"code_sha256_prefix":"818e4d9ecaa55083","entry":"write_featuremap_cache_grouped","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/features/store_features.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/features/store_features.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":"818e4d9ecaa55083"}},{"code_sha256_prefix":"aae446cffbdf9b03","entry":"write_patch_cache","repo":"cvg/pixel-perfect-sfm","repo_kind":"official","path":"pixsfm/features/store_features.py","file_url":"https://github.com/cvg/pixel-perfect-sfm/blob/HEAD/pixsfm/features/store_features.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":"aae446cffbdf9b03"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}