antsrMotionCalculation.Rd
Correct time-series data for motion.
antsrMotionCalculation(
img,
fixed,
mask,
typeofTransform = c("Rigid", "QuickRigid", "BOLDRigid", "Affine", "AffineFast",
"BOLDAffine", "SyN", "SyNOnly"),
getMotionDescriptors = TRUE,
verbose = FALSE,
...
)
antsImage, usually ND where D=4.
Fixed image to register all timepoints to. If not provided, mean image is used.
mask for image (ND-1). If not provided, estimated from data.
One of "Affine"
, "Rigid"
,
'"BOLDAffine"
, "BOLDRigid"
, "QuickRigid"
.
computes dvars and framewise displacement. May take additional memory.
enables verbose output.
extra parameters passed to antsRegistration
List containing:
Motion corrected time-series image.
Data frame of translation parameters.
Average motion-corrected image.
Mask used to calculate framewise displacement.
Time-series mean and max displacements.
DVARS, derivative of frame-wise intensity changes.