History of AFNI updates  

|
September 29, 2020 05:26AM
Thanks! That gave similar results. But I had to use the -cm option in the @AlignCenters functions, otherwise the brain stays where it was in space (e.g. low in y-dim). Perhaps due to the native images having its center at the matrix center? Anyways, this worked:

for i in * ; do

@Align_Centers -cm -base $template -dset $i -prefix ../$out_dir/temp_$i

3dresample -master $template -inset ../$out_dir/temp_$i -prefix ../$out_dir/$i

rm ../$out_dir/temp_$i

done



Thanks =)
Subject Author Posted

How to simply move the brain to center of matrix-space

Robin September 21, 2020 05:28AM

Re: How to simply move the brain to center of matrix-space

Colm Connolly September 22, 2020 09:30AM

Re: How to simply move the brain to center of matrix-space Attachments

Robin September 23, 2020 04:23AM

Re: How to simply move the brain to center of matrix-space

Daniel Glen September 24, 2020 11:19AM

Re: How to simply move the brain to center of matrix-space

Robin September 28, 2020 06:44AM

Re: How to simply move the brain to center of matrix-space

Daniel Glen September 28, 2020 11:25AM

Re: How to simply move the brain to center of matrix-space

Robin September 29, 2020 05:26AM