{"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/coordfill-efficient-high-resolution-image","title":"CoordFill: Efficient High-Resolution Image Inpainting via Parameterized Coordinate Querying","arxiv_id":"2303.08524","date":"2023-03-15","proceeding":null,"authors":["Weihuang Liu","Xiaodong Cun","Chi-Man Pun","Menghan Xia","Yong Zhang","Jue Wang"],"abstract":"Image inpainting aims to fill the missing hole of the input. It is hard to solve this task efficiently when facing high-resolution images due to two reasons: (1) Large reception field needs to be handled for high-resolution image inpainting. (2) The general encoder and decoder network synthesizes many background pixels synchronously due to the form of the image matrix. In this paper, we try to break the above limitations for the first time thanks to the recent development of continuous implicit representation. In detail, we down-sample and encode the degraded image to produce the spatial-adaptive parameters for each spatial patch via an attentional Fast Fourier Convolution(FFC)-based parameter generation network. Then, we take these parameters as the weights and biases of a series of multi-layer perceptron(MLP), where the input is the encoded continuous coordinates and the output is the synthesized color value. Thanks to the proposed structure, we only encode the high-resolution image in a relatively low resolution for larger reception field capturing. Then, the continuous position encoding will be helpful to synthesize the photo-realistic high-frequency textures by re-sampling the coordinate in a higher resolution. Also, our framework enables us to query the coordinates of missing pixels only in parallel, yielding a more efficient solution than the previous methods. Experiments show that the proposed method achieves real-time performance on the 2048$\\times$2048 images using a single GTX 2080 Ti GPU and can handle 4096$\\times$4096 images, with much better performance than existing state-of-the-art methods visually and numerically. The code is available at: https://github.com/NiFangBaAGe/CoordFill.","url_abs":"https://arxiv.org/abs/2303.08524v1","url_pdf":"https://arxiv.org/pdf/2303.08524v1.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":"coordfill-efficient-high-resolution-image","repo_url":"https://github.com/nifangbaage/coordfill","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":null,"task_name":"GPU"},{"task_slug":"image-inpainting","task_name":"Image Inpainting"},{"task_slug":"high","task_name":"Vocal Bursts Intensity Prediction"}],"methods":[{"method_slug":"pixel-prediction","method_name":"Inpainting"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.08524","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.08524"}},"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":"deterministic:regex_extraction","url":"https://github.com/NiFangBaAGe/CoordFill","reach":null}],"summary":{"ran":7,"unverified":11},"by_repo_kind":{"official":{"samples":18,"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":"443a27e88886f962","entry":"BaseNetwork","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"443a27e88886f962"}},{"code_sha256_prefix":"62bac9f9e210efc9","entry":"ConcatTupleLayer","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"62bac9f9e210efc9"}},{"code_sha256_prefix":"1fbf7982390f137b","entry":"FFC_BN_ACT","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"1fbf7982390f137b"}},{"code_sha256_prefix":"50b8f556e23dc337","entry":"FourierUnit","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"50b8f556e23dc337"}},{"code_sha256_prefix":"6fee4cc5e77c63d6","entry":"ParaGenNet","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6fee4cc5e77c63d6"}},{"code_sha256_prefix":"ec5b3c5fc06f3065","entry":"PixelQueryNet","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"ec5b3c5fc06f3065"}},{"code_sha256_prefix":"a59dece88a263461","entry":"SELayer","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"a59dece88a263461"}},{"code_sha256_prefix":"9cf9b865af2e1c2d","entry":"AttFFC","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"9cf9b865af2e1c2d"}},{"code_sha256_prefix":"42961bc165cc995c","entry":"AttFFCResNetGenerator","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"42961bc165cc995c"}},{"code_sha256_prefix":"771402ef412f4280","entry":"CoordFill","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"771402ef412f4280"}},{"code_sha256_prefix":"5ce9dfb242e8a34b","entry":"CoordFillGenerator","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"5ce9dfb242e8a34b"}},{"code_sha256_prefix":"0a70b66723b3cedd","entry":"FFC","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"0a70b66723b3cedd"}},{"code_sha256_prefix":"fe401746b27bf76b","entry":"FFCResNetGenerator","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"fe401746b27bf76b"}},{"code_sha256_prefix":"7eba59f96acf99cd","entry":"FFCResnetBlock","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"7eba59f96acf99cd"}},{"code_sha256_prefix":"ab3392be53d55e96","entry":"LearnableSpatialTransformWrapper","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"ab3392be53d55e96"}},{"code_sha256_prefix":"a31edbc4f9e59c23","entry":"MLPModel","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"a31edbc4f9e59c23"}},{"code_sha256_prefix":"1a5021c2953d66fe","entry":"SpectralTransform","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"1a5021c2953d66fe"}},{"code_sha256_prefix":"03bfb68584c430f0","entry":"_get_coords","repo":"NiFangBaAGe/CoordFill","repo_kind":"official","path":"models/coordfill.py","file_url":"https://github.com/NiFangBaAGe/CoordFill/blob/HEAD/models/coordfill.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"03bfb68584c430f0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}