{"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/test-time-dynamic-image-fusion","title":"Test-Time Dynamic Image Fusion","arxiv_id":"2411.02840","date":"2024-11-05","proceeding":null,"authors":["Bing Cao","Yinan Xia","Yi Ding","Changqing Zhang","QinGhua Hu"],"abstract":"The inherent challenge of image fusion lies in capturing the correlation of multi-source images and comprehensively integrating effective information from different sources. Most existing techniques fail to perform dynamic image fusion while notably lacking theoretical guarantees, leading to potential deployment risks in this field. Is it possible to conduct dynamic image fusion with a clear theoretical justification? In this paper, we give our solution from a generalization perspective. We proceed to reveal the generalized form of image fusion and derive a new test-time dynamic image fusion paradigm. It provably reduces the upper bound of generalization error. Specifically, we decompose the fused image into multiple components corresponding to its source data. The decomposed components represent the effective information from the source data, thus the gap between them reflects the Relative Dominability (RD) of the uni-source data in constructing the fusion image. Theoretically, we prove that the key to reducing generalization error hinges on the negative correlation between the RD-based fusion weight and the uni-source reconstruction loss. Intuitively, RD dynamically highlights the dominant regions of each source and can be naturally converted to the corresponding fusion weight, achieving robust results. Extensive experiments and discussions with in-depth analysis on multiple benchmarks confirm our findings and superiority. Our code is available at https://github.com/Yinan-Xia/TTD.","url_abs":"https://arxiv.org/abs/2411.02840v1","url_pdf":"https://arxiv.org/pdf/2411.02840v1.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":"test-time-dynamic-image-fusion","repo_url":"https://github.com/yinan-xia/ttd","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2411.02840","atlas_url":"https://app.syntology.ai/?focus=2411.02840","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.02840"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":"deterministic:regex_extraction","url":"https://github.com/Yinan-Xia/TTD","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yinan-xia/ttd","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_fixture":5,"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"official":{"samples":9,"ran":6,"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":"f33fb16d35caecfb","entry":"Im2Patch","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"dataprocessing.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/dataprocessing.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f33fb16d35caecfb"}},{"code_sha256_prefix":"fe7d4321dbeef661","entry":"drop_path","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"net.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/net.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fe7d4321dbeef661"}},{"code_sha256_prefix":"b4aafd32738c8371","entry":"get_img_file","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"dataprocessing.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/dataprocessing.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b4aafd32738c8371"}},{"code_sha256_prefix":"6f19122cfbfddc13","entry":"rgb2y","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"dataprocessing.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/dataprocessing.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6f19122cfbfddc13"}},{"code_sha256_prefix":"82a15cc1e46f7e4d","entry":"to_3d","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"net.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/net.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"82a15cc1e46f7e4d"}},{"code_sha256_prefix":"b20f2a5df739a59e","entry":"to_4d","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"net.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/net.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b20f2a5df739a59e"}},{"code_sha256_prefix":"4a72727e06412d3f","entry":"VIFF","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"utils/Evaluator.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/utils/Evaluator.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":"4a72727e06412d3f"}},{"code_sha256_prefix":"e73e7709bbfcf0a2","entry":"cc","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"utils/loss.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/utils/loss.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":"e73e7709bbfcf0a2"}},{"code_sha256_prefix":"9e43cb62b97207d2","entry":"image_read_cv2","repo":"Yinan-Xia/TTD","repo_kind":"official","path":"utils/Evaluator.py","file_url":"https://github.com/Yinan-Xia/TTD/blob/HEAD/utils/Evaluator.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":"9e43cb62b97207d2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}