Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:lncd_mni_2018 [2024/04/18 09:34] – add 1mm header will | tools:lncd_mni_2018 [2024/04/18 10:17] (current) – 3dresample code will | ||
---|---|---|---|
Line 24: | Line 24: | ||
84 100 84 1 -95.45 | 84 100 84 1 -95.45 | ||
</ | </ | ||
+ | |||
+ | In afni, you can see the viewer move the crosshair (coordinate says the same) and mask when the underlay is changed. \\ | ||
+ | {{: | ||
+ | |||
+ | |||
+ | And how it effects placement \\ | ||
+ | {{: | ||
+ | |||
+ | ===== 3dresample sufficient ===== | ||
+ | |||
+ | < | ||
+ | GOOD=/ | ||
+ | | ||
+ | 3dresample -inset $BAD -master $GOOD -overwrite -prefix mni_lncd_in_09c.nii.gz | ||
+ | |||
+ | 3dBrickStat -max " | ||
+ | # 9.36876 # border | ||
+ | |||
+ | fixto1809c $BAD -out mni_lncd_in_09c_flirt.nii.gz | ||
+ | 3dBrickStat -max " | ||
+ | # 9.36876 | ||
+ | |||
+ | 3dcalc -g $GOOD -b mni_lncd_in_09c.nii.gz -expr ' | ||
+ | |||
+ | afni -com ' | ||
+ | </ | ||
+ | {{: |