{"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/bridging-the-visual-gap-wide-range-image","title":"Bridging the Visual Gap: Wide-Range Image Blending","arxiv_id":"2103.15149","date":"2021-03-28","proceeding":"CVPR 2021 1","authors":["Chia-Ni Lu","Ya-Chu Chang","Wei-Chen Chiu"],"abstract":"In this paper we propose a new problem scenario in image processing, wide-range image blending, which aims to smoothly merge two different input photos into a panorama by generating novel image content for the intermediate region between them. Although such problem is closely related to the topics of image inpainting, image outpainting, and image blending, none of the approaches from these topics is able to easily address it. We introduce an effective deep-learning model to realize wide-range image blending, where a novel Bidirectional Content Transfer module is proposed to perform the conditional prediction for the feature representation of the intermediate region via recurrent neural networks. In addition to ensuring the spatial and semantic consistency during the blending, we also adopt the contextual attention mechanism as well as the adversarial learning scheme in our proposed method for improving the visual quality of the resultant panorama. We experimentally demonstrate that our proposed method is not only able to produce visually appealing results for wide-range image blending, but also able to provide superior performance with respect to several baselines built upon the state-of-the-art image inpainting and outpainting approaches.","url_abs":"https://arxiv.org/abs/2103.15149v2","url_pdf":"https://arxiv.org/pdf/2103.15149v2.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":"bridging-the-visual-gap-wide-range-image","repo_url":"https://github.com/julia0607/Wide-Range-Image-Blending","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-inpainting","task_name":"Image Inpainting"},{"task_slug":"image-outpainting","task_name":"Image Outpainting"}],"methods":[{"method_slug":"pixel-prediction","method_name":"Inpainting"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2103.15149","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2103.15149"}},"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/julia0607/Wide-Range-Image-Blending","reach":null}],"summary":{"ran":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":9,"samples":[{"code_sha256_prefix":"f3397e40c4981ab9","entry":"GRB","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f3397e40c4981ab9"}},{"code_sha256_prefix":"0a15e468e1ebe08c","entry":"SHC","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0a15e468e1ebe08c"}},{"code_sha256_prefix":"2a59fdb12f5590dc","entry":"convolutional_block","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2a59fdb12f5590dc"}},{"code_sha256_prefix":"e1954add4809264d","entry":"identity_block","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e1954add4809264d"}},{"code_sha256_prefix":"3ed8e9b75e8c9c50","entry":"make_layers","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3ed8e9b75e8c9c50"}},{"code_sha256_prefix":"efcc21352c48a95b","entry":"make_layers_transpose","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"efcc21352c48a95b"}},{"code_sha256_prefix":"5d0f8765823261ee","entry":"ContextualAttention","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5d0f8765823261ee"}},{"code_sha256_prefix":"d842f445162e3f76","entry":"Generator","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d842f445162e3f76"}},{"code_sha256_prefix":"422e0560806f510d","entry":"LSTM_Encoder_Decoder","repo":"julia0607/Wide-Range-Image-Blending","repo_kind":"official","path":"models/Generator.py","file_url":"https://github.com/julia0607/Wide-Range-Image-Blending/blob/HEAD/models/Generator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"422e0560806f510d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}