# 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
# }
Run the code above in your browser using DataLab