Python implementation of the exemplar-based inpainting method of Criminisi et al.
Project description
Exemplar-based Inpainting
Python implementation of the exemplar-based inpainting method of Criminisi et al.:
Criminisi A, Pérez P, Toyama K. Region filling and object removal by exemplar-based image inpainting[J]. IEEE Transactions on image processing, 2004, 13(9): 1200-1212.
Installation
This project requires Python >= 3.7. To install it using pip:
cd <path_to>/exemplar_based_inpainting
pip install .
Compile the docs
This project uses mkdocs. Therefore, compiling the documentation is as simple as running the following command from the same directory containing the mkdocs.yml file:
mkdocs build
And serving the documentation to read it locally:
mkdocs serve
Usage
After installation, you should have the exemplar_based_inpainting command line tool available.
The only required parameter is the input image to inpaint. If you want to manually set the inpainting mask, and you do not need to store the results, you can just call it as follows:
exemplar_based_inpainting <image_path>
Please check the documentation for more information on the different parameters of this tool. We also provide some examples to test the tool in the data folder of this project.
Acknowledgements
This project has been developed by Coronis Computing S.L. within the EMODnet Bathymetry (High Resolution Seabed Mapping) project.
- EMODnet: http://www.emodnet.eu/
- EMODnet (bathymetry): http://www.emodnet-bathymetry.eu/
- Coronis: http://www.coronis.es
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exemplar_based_inpainting-0.2.0.tar.gz.
File metadata
- Download URL: exemplar_based_inpainting-0.2.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c235f54591e4c38511f82631c84cdd35b154074fd5ab6b1ed1e1ae3899bbbff4
|
|
| MD5 |
29b526a11d957019a385c219e954044d
|
|
| BLAKE2b-256 |
94bd2c5e3934532f5502f74e1dd1d9437f7ce0b5bfcad1da94349579e9a74fa6
|
Provenance
The following attestation bundles were made for exemplar_based_inpainting-0.2.0.tar.gz:
Publisher:
publish.yml on coronis-computing/exemplar_based_inpainting
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
exemplar_based_inpainting-0.2.0.tar.gz -
Subject digest:
c235f54591e4c38511f82631c84cdd35b154074fd5ab6b1ed1e1ae3899bbbff4 - Sigstore transparency entry: 153281356
- Sigstore integration time:
-
Permalink:
coronis-computing/exemplar_based_inpainting@f16d0e9d1414c25c3341fd92caf2158009d5cf9c -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/coronis-computing
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f16d0e9d1414c25c3341fd92caf2158009d5cf9c -
Trigger Event:
release
-
Statement type:
File details
Details for the file exemplar_based_inpainting-0.2.0-py3-none-any.whl.
File metadata
- Download URL: exemplar_based_inpainting-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be762543da0e711d943ffdccf827150fb97d74bf54366d4abf18462b543591d7
|
|
| MD5 |
56f50febfd856982a1687c4f2a7f7eaa
|
|
| BLAKE2b-256 |
529cf730fcc87984e99c475a43dd25c67370426146e81f89e56b749631b83a79
|
Provenance
The following attestation bundles were made for exemplar_based_inpainting-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on coronis-computing/exemplar_based_inpainting
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
exemplar_based_inpainting-0.2.0-py3-none-any.whl -
Subject digest:
be762543da0e711d943ffdccf827150fb97d74bf54366d4abf18462b543591d7 - Sigstore transparency entry: 153281357
- Sigstore integration time:
-
Permalink:
coronis-computing/exemplar_based_inpainting@f16d0e9d1414c25c3341fd92caf2158009d5cf9c -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/coronis-computing
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f16d0e9d1414c25c3341fd92caf2158009d5cf9c -
Trigger Event:
release
-
Statement type: