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  

|
SPAN Lab / CSLI
October 13, 2004 08:21PM
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
Subject Author Posted

Functioal Briks using Matlab

Srikanth Padmala May 19, 2004 04:50PM

Re: Functioal Briks using Matlab

Ziad Saad May 19, 2004 11:37PM

Re: Functioal Briks using Matlab

Srikanth Padmala May 20, 2004 09:24AM

Re: Functioal Briks using Matlab

rick reynolds May 20, 2004 09:42AM

Re: Functioal Briks using Matlab

Srikanth Padmala May 20, 2004 10:20AM

Re: Functioal Briks using Matlab

Gang Chen May 20, 2004 10:27AM

Re: Functioal Briks using Matlab

Srikanth Padmala May 20, 2004 02:55PM

Re: Functioal Briks using Matlab

Gang Chen May 20, 2004 03:24PM

Re: Functioal Briks using Matlab

Srikanth Padmala May 20, 2004 03:55PM

Re: Functioal Briks using Matlab

Ziad S. Saad May 21, 2004 01:39PM

Re: Functioal Briks using Matlab

SPAN Lab / CSLI October 13, 2004 08:21PM