An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# ImageInpainting.jl

[![Build Status](https://img.shields.io/github/workflow/status/JuliaImages/ImageInpainting.jl/CI)](https://github.com/JuliaImages/ImageInpainting.jl/actions)
[![CodeCov](https://codecov.io/gh/JuliaImages/ImageInpainting.jl/branch/master/graph/badge.svg)](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...

![lighthouse](imgs/lighthouse.png)

**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.