Table of Contents ▸ List of Commands ▸ Filtering ▸ inpaint_pde | ◀ inpaint | inpaint_flow ▶ |
inpaint_pde
Arguments:
- [mask],_nb_scales[%],_diffusion_type={ 0:Isotropic | 1:Delaunay-guided | 2:Edge-guided | 3:Mask-guided },_diffusion_iter>=0
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 usedto 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]