motion_correction: Motion Correction

Description Usage Arguments Value Author(s) Examples

Description

Perform motion-correction on the given image

Usage

1
motion_correction( img )

Arguments

img

Input image. Can be a filename of an 3D image or an 'antsImage' of pixeltype 'float' and dimension '3'.

Value

Success – a list of named elements containing motion-corrected image (name 'moco_img' type 'antsImage'), motion-correction parameters (name 'moco_params' type 'antsMatrix'), average image (name 'moco_avg_img' type 'antsImage').
Failure – NULL

Author(s)

Shrinidhi KL

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
moco_results <- motion_correction( "input_img.nii" )
# motion-corrected image
moco_results$moco_img
# motion-correction parameters
moco_results$moco_params
# average image
moco_results$moco_avg_img

## End(Not run)

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.