run: Run a pipeline and return an image result

Description Usage Arguments Value Examples

Description

Run a pipeline and return an image result

Usage

1
run(pipe, precision = getOption("imbibe.precision", "double"))

Arguments

pipe

An operation pipeline.

precision

The internal precision used for calculations. May be "double", "float" or "single"; the latter two are equivalent.

Value

An image

Examples

1
2
3
im <- RNifti::readNifti(system.file("extdata", "example.nii.gz", package="RNifti"))
pipe <- im %>% threshold_below(500) %>% binarise()
run(pipe)

imbibe documentation built on Oct. 26, 2020, 5:08 p.m.