antsMotionCalculation.Rd
Correct 4D time-series data for motion.
antsMotionCalculation(
img,
mask = NULL,
fixed = NULL,
moreaccurate = 1,
txtype = "Affine",
framewise = 1,
verbose = FALSE,
...
)
antsImage, usually 4D.
mask for image (3D). If not provided, estimated from data.
Fixed image to register all timepoints to. If not provided, mean image is used.
strategy desired for motion correction. One of 0 (test) 1 (high-res only), 2 (multi-level inter-subject), 3 (FIXME), or a special method for intraSubjectBOLD.
Type of transform. One of "Affine"
,
"Rigid"
, or
"SyN"
.
Calculate framewise displacement?
enables verbose output.
additional argument to .motion_correction
List containing:
Motion corrected time-series image.
Data frame of translation parameters.
Average motion-corrected image.
Mask used to calculate framewise displacement.
Time-series displacement image.
Time-series mean and max displacements.
DVARS, derivative of frame-wise intensity changes.