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  

|
March 12, 2015 02:04PM
Hi folks,

Has anyone had experience writing out a sulcal ROI from Brainvisa and applying it to fMRI data in AFNI? I have a sulcal mask in NIFTI format that overlays nicely onto the T1 image in the Anatomist GUI. However, when I open that up as an overlay in AFNI, it's nowhere near the right position for that subject. I have gone through the Brainvisa forum and it seems that they have a particular coordinate system that they use for the sulcal meshes and that there is probably a way to get and apply the inverse matrix to put the ROI back into native space, but I can't figure the exact process out.

As a response to an earlier post on this topic, I was asked to compare the headers of the sulcal mask and my T1 image. The results were as follows:

name offset nvals values
------------------- ------ ----- ------
dim 40 8 3 256 256 166 1 1 1 1
dim 40 8 3 166 256 256 1 1 1 1
pixdim 76 8 1.0 0.9375 0.9375 1.2 0.0 0.0 0.0 0.0
pixdim 76 8 -1.0 1.2 0.9375 0.9375 1.0 1.0 1.0 1.0
vox_offset 108 1 6352.0
vox_offset 108 1 352.0
xyzt_units 123 1 2
xyzt_units 123 1 0
sform_code 254 1 1
sform_code 254 1 0
quatern_b 256 1 -0.5
quatern_b 256 1 0.0
quatern_c 260 1 0.5
quatern_c 260 1 1.0
quatern_d 264 1 -0.5
quatern_d 264 1 0.0
qoffset_x 268 1 -104.089996
qoffset_x 268 1 -98.400002
qoffset_y 272 1 156.994995
qoffset_y 272 1 -120.0
qoffset_z 276 1 91.644798
qoffset_z 276 1 -120.0
srow_x 280 4 -0.0 -0.0 1.2 -104.089996
srow_x 280 4 0.0 0.0 0.0 0.0
srow_y 296 4 -0.9375 -0.0 -0.0 156.994995
srow_y 296 4 0.0 0.0 0.0 0.0
srow_z 312 4 0.0 -0.9375 0.0 91.644798
srow_z 312 4 0.0 0.0 0.0 0.0

Any help would be greatly appreciated!

Lisa Eyler
Subject Author Posted

Brainvisa sulcal ROI as mask in AFNI?

lteyler March 12, 2015 02:04PM

Re: Brainvisa sulcal ROI as mask in AFNI?

Daniel Glen March 12, 2015 04:27PM

Re: Brainvisa sulcal ROI as mask in AFNI?

rick reynolds March 13, 2015 03:01PM