History of AFNI updates  

|
June 23, 2015 06:59AM
Isaac Schwabacher Wrote:
-------------------------------------------------------
> No, I mean that if you go to the voxel that MATLAB
> says is (68, 33, 52), then MATLAB will say that
> that voxel's global index in the dataset is
> 372560. If you navigate to the same voxel (i.e.,
> the same location in the dataset) in AFNI, the
> global index will be 372559 and the
> ijk-coordinates will be (67, 32, 51). The voxel
> at AFNI global index 372560 is actually the
> neighbor of the original voxel, and it does have
> coordinates (68, 32, 51).

I tried it out and I can't replicate this behaviour.

I took an arbitrary dataset and in the AFNI GUI jumped to (xyz)=28 50 100. AFNI reports index 116671, voxel x=39, y=64, z=22.

In Matlab:

i=BrikInfo('myfile+orig');
[~,idx]=AFNI_XYZcontinuous2Index([28 50 100],i); % idx=[ 39 64 22]
[[~,lin_idx]=AFNI_XYZcontinuous2Index([28 50 100],i,[],1); % lin_idx=116671
[~,xyz]=AFNI_Index2XYZcontinuous(idx,i); % xyz= [28.7500 50.4739 100.5457]

so from what I see there is a direct match between the indices in Matlab and the AFNI GUI. Do you see other behaviour?
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