{"id":14977722,"url":"https://github.com/analyzable-fr/patch-based-texture-inpainting","last_synced_at":"2025-10-24T19:31:19.677Z","repository":{"id":58467422,"uuid":"527025609","full_name":"Analyzable-FR/patch-based-texture-inpainting","owner":"Analyzable-FR","description":"Patch-based inpainting Python library","archived":false,"fork":false,"pushed_at":"2023-03-05T21:08:11.000Z","size":33390,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T22:43:11.979Z","etag":null,"topics":["computer-vision","image","image-processing","inpainting","machine-learning","opencv","opencv-python","scikit-image","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Analyzable-FR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-08-20T19:51:17.000Z","updated_at":"2025-04-02T14:31:41.000Z","dependencies_parsed_at":"2022-09-03T00:33:15.669Z","dependency_job_id":"56126fb1-b9bf-4eb0-b632-b242708bd299","html_url":"https://github.com/Analyzable-FR/patch-based-texture-inpainting","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":"0.040000000000000036","last_synced_commit":"3ab72e1242409aec8caab653193e10925d45ebba"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Analyzable-FR/patch-based-texture-inpainting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Analyzable-FR%2Fpatch-based-texture-inpainting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Analyzable-FR%2Fpatch-based-texture-inpainting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Analyzable-FR%2Fpatch-based-texture-inpainting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Analyzable-FR%2Fpatch-based-texture-inpainting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Analyzable-FR","download_url":"https://codeload.github.com/Analyzable-FR/patch-based-texture-inpainting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Analyzable-FR%2Fpatch-based-texture-inpainting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274578353,"owners_count":25310955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-vision","image","image-processing","inpainting","machine-learning","opencv","opencv-python","scikit-image","scikit-learn"],"created_at":"2024-09-24T13:56:12.057Z","updated_at":"2025-10-24T19:31:19.591Z","avatar_url":"https://github.com/Analyzable-FR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# patch-based-texture-inpainting\n\nBased on \"Image Quilting for Texture Synthesis and Transfer\" and \"Real-Time Texture Synthesis by Patch-Based Sampling\" papers and from the implementation of anopara https://github.com/anopara/patch-based-texture-synthesis.\n\n## Installation\n```\npip install patch-based-inpainting\n```\n\n## Usage\n[Documentation](https://patch-based-texture-inpainting.readthedocs.io/en/latest/)\n\n```\n    The Inpaint object contains will performed patch-based inpainting.\n    Usage: create the object with parameters, call object.resolve().\n\n    Parameters\n    ----------\n    image : array\n        The image to inpaint.\n    mask : array\n        The mask of the same size as the image, all value \u003e 0 will be inpainted.\n    patch_size : int\n        The size of one square patch.\n    overlap_size : int\n        The size of the overlap between patch.\n    training_area : array\n        The mask of the same size as the image, all value \u003e 0 will be used for training.\n    window_step : int\n        The shape of the elementary n-dimensional orthotope of the rolling window view. If None will be autocomputed. Can lead to a RAM saturation if to small.\n    mirror_hor : bool\n        Compute the horizontal mirror of each patch for training.\n    mirror_vert : bool\n        Compute the vertical mirror of each patch for training.\n    rotation : list\n        Compute the given rotations in degrees of each patch for training.\n    method : str\n        Method to use for blending adjacent patches. blend: feathering blending ; linear: mean blending ; gaussian: gaussian blur blending ; None: no blending.\n```\n\n\n## Example\n![alt text](assets/1.gif)\n![alt text](assets/2.gif)\n![alt text](assets/3.gif)\n![alt text](assets/4.gif)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalyzable-fr%2Fpatch-based-texture-inpainting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanalyzable-fr%2Fpatch-based-texture-inpainting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalyzable-fr%2Fpatch-based-texture-inpainting/lists"}