Print ants$motion_correction
to see the original document
Usage
ants_motion_correction(
x,
fixed = NULL,
type_of_transform = "BOLDRigid",
mask = NULL,
fdOffset = 50,
outprefix = "",
verbose = FALSE,
...
)
Arguments
Examples
if(interactive() && ants_available()) {
fi <- as_ANTsImage(ants$get_ants_data('ch2'))
mytx <- ants_motion_correction( fi )
par(mfrow = c(1, 2), mar = c(1,1,1,1))
image(fi[,,91], asp = 1, axes = FALSE)
image(mytx$motion_corrected[,,91], asp = 1, axes = FALSE)
}