History of AFNI updates  

|
June 22, 2015 10:59AM
The issue is that MATLAB indices start at 1, while AFNI indices start at 0. So when addressing the entire brick with a single index, MATLAB index 372560 is the same voxel as AFNI index 372559, and the MATLAB voxel is at (68, 33, 52) while the AFNI voxel is at (67, 32, 51).

Although it's not the source of your current confusion, another thing to be aware of if you're using software other than AFNI and MATLAB to manipulate your data is that those two programs store the data using the FORTRAN convention, which means that the first index changes fastest as the global index changes. Many other programs use the C convention, in which the last index changes fastest, and this could cause global indices to disagree across programs.
Subject Author Posted

AFNI and MATLAB discrepancies after surface to 3D volume transformation

dberman6 June 19, 2015 07:32PM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

Isaac Schwabacher June 22, 2015 10:59AM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

nick June 22, 2015 12:29PM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

Isaac Schwabacher June 22, 2015 12:43PM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

nick June 22, 2015 12:57PM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

Isaac Schwabacher June 22, 2015 01:01PM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

nick June 23, 2015 06:59AM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

Isaac Schwabacher June 23, 2015 12:03PM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

nick June 24, 2015 07:28AM

Re: AFNI and MATLAB discrepancies after surface to 3D volume transformation

Isaac Schwabacher June 24, 2015 11:34AM