Skip to main content

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.

Metadata

Release files for exemplar-based-inpainting 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exemplar-based-inpainting 0.2.0
File Size Uploaded Provenance Actions
exemplar_based_inpainting-0.2.0.tar.gz 12.9 kB With provenance Details for exemplar_based_inpainting-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for exemplar-based-inpainting 0.2.0
File Interpreter ABI Platform Actions
exemplar_based_inpainting-0.2.0-py3-none-any.whl Python 3 none any Details for exemplar_based_inpainting-0.2.0-py3-none-any.whl

Total release size: 27.3 kB

Release files / exemplar_based_inpainting-0.2.0.tar.gz

Download URL exemplar_based_inpainting-0.2.0.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c235f54591e4c38511f82631c84cdd35b154074fd5ab6b1ed1e1ae3899bbbff4
BLAKE2b-256 checksum
How to use checksums
94bd2c5e3934532f5502f74e1dd1d9437f7ce0b5bfcad1da94349579e9a74fa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.

Transparency log

Release files / exemplar_based_inpainting-0.2.0-py3-none-any.whl

Download URL exemplar_based_inpainting-0.2.0-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be762543da0e711d943ffdccf827150fb97d74bf54366d4abf18462b543591d7
BLAKE2b-256 checksum
How to use checksums
529cf730fcc87984e99c475a43dd25c67370426146e81f89e56b749631b83a79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.

Transparency log

Security for exemplar-based-inpainting 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for exemplar_based_inpainting-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page