41
2.8. FILTERING
197
Inpaint selected images by specified mask.
If no patch size (or 0) is specified, inpainting is done using a fast average or median algorithm.
Otherwise, it used a patch-based reconstruction method, that can be very time consuming.
’fast
method’ can be { 0=low-connectivity average | 1=high-connectivity average | 2=low-connectivity
median | 3=high-connectivity median }.
Default values:
• ’patch
size=0’, ’fast
method=1’, ’lookup
size=22’, ’lookup
factor=0.5’,
’lookup
increment=1’, ’blend
size=0’, ’blend
threshold=0’, ’blend
decay=0.05’,
’blend
scales=10’ and ’is
blend
outer=1’.
Example 320 : image.jpg 100%,100% -ellipse 50%,50%,30,30,0,1,255 -ellipse
20%,20%,30,10,0,1,255 --inpaint..
[-1] -remove..
Example 321 : image.jpg 100%,100% -circle 30%,30%,30,1,255,0,255 -circle
70%,70%,50,1,255,0,255 --inpaint[0] [1],5,15,0.5,1,9,0 -remove[1]
2.8.56 -inpaint
flow
Arguments:
• [mask],
nb
global
iter>=0,
nb
local
iter>=0,
dt>0,
alpha>=0,
sigma>=0