NrrdSave: Save a nrrd file in a different encoding / format

Description Usage Arguments Value See Also

View source: R/UNUImageProcessingFunctions.R

Description

In outfile is missing, will overwrite infile

Usage

1
2
3
NrrdSave(infile, outfile, format = c("nrrd", "pnm", "text", "vtk", "png",
  "eps"), encoding = ifelse(format == "nrrd", "gzip", "raw"),
  CreateDirs = TRUE, UseLock = FALSE, DryRun = FALSE)

Arguments

infile, outfile

Paths to input and output nrrds

format

(one of 6 supported by unu save, default nrrd)

encoding

(one of 5 supported by unu save, default gz when nrrd)

CreateDirs

Whether to make missing direcories implied by output path

UseLock

Whether to make a lockfile (useful for parallel processing)

DryRun

Return command instead of running it

Value

path to ouput file

See Also

NrrdCrc


jefferis/runu documentation built on July 26, 2017, 4:05 a.m.