History of AFNI updates  

|
February 20, 2020 05:50PM
Hi, Clément -

Just to be clear, the code snippet above will just "recenter" one dataset (the EPI, I guess), and then one might not expect the anat to overlay.

If you want two datsets to have the same orientation before you start, then you can do something like this:
#!/bin/tcsh

set ori_val = `3dinfo -orient DSET1`

3dresample \
   -orient ${ori_val} \
   -prefix DSET2_${ori_val}.nii \
   -input DSET2

Does doing that remove issues with center of mass/aligning?

--pt
Subject Author Posted

2 images in the same space

Doughboys February 20, 2020 04:50PM

Re: 2 images in the same space

ptaylor February 20, 2020 05:16PM

Re: 2 images in the same space

Doughboys February 20, 2020 05:35PM

Re: 2 images in the same space

ptaylor February 20, 2020 05:50PM

Re: 2 images in the same space

Doughboys February 20, 2020 06:05PM

Re: 2 images in the same space

ptaylor February 20, 2020 06:25PM

Re: 2 images in the same space

Doughboys February 20, 2020 07:10PM

Re: 2 images in the same space

ptaylor February 21, 2020 06:24AM

Re: 2 images in the same space

Doughboys February 21, 2020 10:38AM

Re: 2 images in the same space

Doughboys February 26, 2020 10:01AM