Paints in the image with the mean/median from
fill_mask
inpaint(img, input_mask, fill_mask, func = c("mean", "median"), ...)
| img | image of class |
|---|---|
| input_mask | mask to be painted in. |
| fill_mask | image mask to take the function (e.g. mean/median) of the image |
| func | Function to apply on the values. |
| ... | Arguments to be passed to |
List of output image (outimg) and
statistic filled in (statistic)