dramms_jacobian: Calculate Jacobian Image

Description Usage Arguments Value

View source: R/dramms_jacobian.R

Description

Runs DRAMMS-jacobian on deformation image to determine jacobian

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
dramms_jacobian(
  source,
  target,
  def,
  outfile = NULL,
  retimg = FALSE,
  smooth_def = FALSE,
  smooth_jacobian = FALSE,
  cut_jacobian = FALSE,
  xy_switch_off = FALSE,
  log_jacobian = FALSE
)

Arguments

source

Filename (or nifti) to match to target

target

Filename (or nifti) to match source to to target

def

input deformation field

outfile

Output deformation filename

retimg

return nifti object versus output image

smooth_def

smooth deformation field before calculating

smooth_jacobian

smooth calculated Jacobian map

cut_jacobian

cut-off Jacobian values at 0

xy_switch_off

turn x-y switch off (default: on for default input deformation in DRAMMS format)

log_jacobian

take log of jacobian determinant

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.