Created
October 11, 2019 10:36
-
-
Save ilkayisik/68fed7f07fd6e463b75c8193a1470e70 to your computer and use it in GitHub Desktop.
use convert 3D to reslice a 2mm input to be 1mm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root='/Users/ilkay.isik/project_folder_temp/fc_content/MRI_data/lscp_data/derivatives' | |
input=path/to/2mm_input.nii | |
output=path_to_1mm_output.nii | |
ref=path_to_1mm_ref.nii | |
c3d ${ref} ${input} -int 0 -reslice-identity -o ${output} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment