Hello,
Our lab has read a dataset of adwarp warped BRIK files into matlab using BrikLoad. We're now wondering how to specify Talairach coordinates using the squeeze function in matlab, since matlab requires that these indeces be positive integers.
I saw in the script file that voxel (i,j,k) becomes matlab coordinate (i+1,j+1,k+1) in squeeze(V(i+1,j+1,k+1,:)), but how does this work for negative Talairach coordinates? We looked at BrikInfo and found the following:
Dataset DIM: [40 48 38 0 0]
Rank: [3 540 0 0 0 0 0 0]
Byteorder string: LSB_First
Orient specific: [0 3 4]
Origin: [-78 -79 -64]
Delta: [4 4 4]
Scene Data: [2 2 0 -999 -999 -999 -999 -999]
Taxis Nums: [540 0 77002 -999 -999 -999 -999 -999]
Taxis Floats: [0 2 0 0 0 -999999 -999999 -999999]
Taxis Offsets: []
Thanks very much,
SPAN/CSLI labs