Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exemplar_based_inpainting-0.2.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exemplar_based_inpainting-0.2.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file exemplar_based_inpainting-0.2.0.tar.gz.

File metadata

File hashes

Hashes for exemplar_based_inpainting-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c235f54591e4c38511f82631c84cdd35b154074fd5ab6b1ed1e1ae3899bbbff4
MD5 29b526a11d957019a385c219e954044d
BLAKE2b-256 94bd2c5e3934532f5502f74e1dd1d9437f7ce0b5bfcad1da94349579e9a74fa6

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file exemplar_based_inpainting-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for exemplar_based_inpainting-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be762543da0e711d943ffdccf827150fb97d74bf54366d4abf18462b543591d7
MD5 56f50febfd856982a1687c4f2a7f7eaa
BLAKE2b-256 529cf730fcc87984e99c475a43dd25c67370426146e81f89e56b749631b83a79

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page