inpaint: Inpainting of images

View source: R/inpaint.R

inpaintR Documentation

Inpainting of images

Description

Paints in the image with the mean/median from fill_mask

Usage

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)


muschellij2/extrantsr documentation built on June 3, 2024, 7:04 p.m.