dramms_convert: Run DRAMMS Conversion

Description Usage Arguments Value

View source: R/dramms_convert.R

Description

Convert DRAMMS deformation to new output

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
dramms_convert(
  indef,
  outfile = NULL,
  retimg = FALSE,
  field_dim = NULL,
  field_pixdim = NULL,
  informat = c("DRAMMS", "ITK", "FSL"),
  outformat = c("DRAMMS", "ITK", "FSL"),
  outtype = c("field", "magnitude", "x", "y", "z"),
  change_3 = FALSE
)

Arguments

indef

input deformation field

outfile

output deformation field fielname

retimg

return nifti object versus output image

field_dim

Dimensions of input deformation field or nifti filename to get dimensions

field_pixdim

Pixel dimensions of input deformation field or nifti filename to get pixel dimensions

informat

format of input deformation field

outformat

format of output deformation field

outtype

type of output, either deformation field, magnitude of vectors, or x/y/z displacements

change_3

Change deformation field vectors to three-dimensional displacements

Value

If retimg = TRUE, a nifti object. If retimg = FALSE, a the filename of the output image.


muschellij2/drammsr documentation built on Jan. 18, 2021, 11:24 a.m.