G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.4.3 (2024/10/11)

Reference

Table of Contents  ▸  List of Commands  ▸  Filtering  ▸  inpaint_pde◀  inpaint    |    inpaint_flow  ▶

inpaint_pde

Arguments:

Description:

Inpaint selected images by specified mask using a multiscale transport-diffusion algorithm.

Argument nb_scales sets the number of scales used in the multi-scale resolution scheme.
When the % qualifier is used for nb_scales, the number of used scales is relative to nb_scales_max = ceil(log2(max(w,h,d))).
When nb_scales<0, it determines the minimum image size encountered at the lowest scale.
If diffusion_type==3, non-zero values of the mask (e.g. a distance function) are used
to guide the diffusion process.

Default values:

nb_scales=-9, diffusion_type=1 and diffusion_iter=20.

Example of use:

image.jpg 100%,100% ellipse[-1] 30%,30%,40,30,0,1,255 +inpaint_pde[0] [1]

Command: image.jpg 100%,100% ellipse[-1] 30%,30%,40,30,0,1,255 +inpaint_pde[0] [1]
Command: image.jpg 100%,100% ellipse[-1] 30%,30%,40,30,0,1,255 +inpaint_pde[0] [1]
Command: image.jpg 100%,100% ellipse[-1] 30%,30%,40,30,0,1,255 +inpaint_pde[0] [1]
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.