dramms_warp: Run DRAMMS Warping

Description Usage Arguments Value Note

View source: R/dramms_warp.R

Description

Runs DRAMMS Warping on source and target

Usage

1
2
3
4
5
6
7
8
9
dramms_warp(
  source,
  def = NULL,
  outfile = NULL,
  interpolation = c("trilinear", "nearest.neighbor"),
  template = NULL,
  retimg = FALSE,
  verbose = TRUE
)

Arguments

source

Filename (or nifti) to match to target

def

input deformation field

outfile

Output filename

interpolation

Trilinear or nearest-neighbor interpolation for warping

template

Template used for argument -t if an affine transformed required

retimg

return nifti object versus output image

verbose

(logical) print out command before running

Value

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

Note

As DRAMMS use FLIRT to do affine transformations, please use flirt to apply transformation of affine .mat file.


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