AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
June 16, 2021 08:17PM
I think you would want the second command to be this:
3dAllineate \
    -master ${anat}  \
    -input ${maskdir}/language_comprehension_fromNeuroSynth.nii \
    -prefix ${wdir}/WernickeinNative_NEW \
    -1Dmatrix_apply ${wdir}/transformation_matrix.aff12.1D
    -final NN
.... where note the use of the option "-master .." instead of "-base .."---this makes the output grid of the "-prefix .." dset match ${anat}, rather than just be resampled at input/source dset resolution. Also note that I added "-final NN". Since you said earlier that the input/source dset was a mask, this would have it remain integer-valued; here is part of the 3dAllineate help for more detail:
-final iii  = Defines the interpolation mode used to create the
               output dataset.  [Default == 'cubic']
            ** N.B.: If you are applying a transformation to an
                       integer-valued dataset (such as an atlas),
                       then you should use '-final NN' to avoid
                       interpolation of the integer labels.

Again, if you are happy with the 3dAllineate-estimated alignment for your purposes, that is fine. Just note for other cases where more precise alignment is needed, then using nonlinear warping (e.g., 3dQwarp or @SSwarper, for example) would be recommended.

--pt
Subject Author Posted

3d clusterize - mask and stat.test don't match in [0] dimensions

Lysianne June 16, 2021 04:48PM

Re: 3d clusterize - mask and stat.test don't match in [0] dimensions

ptaylor June 16, 2021 05:54PM

Re: 3d clusterize - mask and stat.test don't match in [0] dimensions

Lysianne June 16, 2021 06:06PM

Re: 3d clusterize - mask and stat.test don't match in [0] dimensions

ptaylor June 16, 2021 06:39PM

Re: 3d clusterize - mask and stat.test don't match in [0] dimensions

Lysianne June 16, 2021 06:54PM

Re: 3d clusterize - mask and stat.test don't match in [0] dimensions

ptaylor June 16, 2021 08:17PM