inpaint: Inpainting of images

Description Usage Arguments Value

View source: R/inpaint.R

Description

Paints in the image with the mean/median from fill_mask

Usage

1
inpaint(img, input_mask, fill_mask, func = c("mean", "median"), ...)

Arguments

img

image of class nifti or character

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. do.call will be called on them

...

Arguments to be passed to func.

Value

List of output image (outimg) and statistic filled in (statistic)


neuroconductor/extrantsr documentation built on Sept. 28, 2020, 11:31 a.m.