https://github.com/juliaimages/imageinpainting.jl
Image inpainting algorithms in Julia
https://github.com/juliaimages/imageinpainting.jl
image-inpainting
Last synced: about 2 months ago
JSON representation
Image inpainting algorithms in Julia
- Host: GitHub
- URL: https://github.com/juliaimages/imageinpainting.jl
- Owner: JuliaImages
- License: mit
- Created: 2018-03-15T05:07:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-15T14:48:39.000Z (over 1 year ago)
- Last Synced: 2025-08-02T10:33:50.378Z (3 months ago)
- Topics: image-inpainting
- Language: Julia
- Homepage:
- Size: 3.16 MB
- Stars: 27
- Watchers: 7
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ImageInpainting.jl
[](https://github.com/JuliaImages/ImageInpainting.jl/actions)
[](https://codecov.io/gh/JuliaImages/ImageInpainting.jl)Image inpainting algorithms in Julia.
For those situations where we need to remove undesired elements from the scene...

**Obs:** Currently, only single channel images are supported.
## Installation
Get the latest stable release with Julia's package manager:
```julia
Pkg.add("ImageInpainting")
```## Usage
```julia
using ImageInpainting# inpaint image within mask using algorithm
inpaint(img, mask, algo)
```
where `mask[i,j,...]` is set to `true` whenever a pixel is to be inpainted.Examples of usage for each algorithm can be found in the test folder.
## Algorithms
| Algorithm type | References |
|----------------|------------|
| `Criminisi` | Criminisi, A., Pérez, P., Toyama, K., 2004. Region Filling and Object Removal by Examplar-based Image Inpainting. |## Contributing
Contributions are very welcome, as are feature requests and suggestions.
Please [open an issue](https://github.com/JuliaImages/ImageInpainting.jl/issues) if you encounter
any problems.