powered by
Run a pipeline and return an image result
run(pipe, precision = getOption("imbibe.precision", "double"))
An image
An operation pipeline.
The internal precision used for calculations. May be "double", "float" or "single"; the latter two are equivalent.
"double"
"float"
"single"
im <- RNifti::readNifti(system.file("extdata", "example.nii.gz", package="RNifti")) pipe <- im %>% threshold_below(500) %>% binarise() run(pipe)
Run the code above in your browser using DataLab