Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Community » Message Board

History of AFNI updates   Suggested reading for beginners   Add yourself to the AFNI map!

Matlab to AFNI - coordinate matching

|
June 24, 2012 07:37AM
After loading my BRIK file in to matlab, I located some ROI i.e. some indexes that are relevant to my needs, and I try to open those locations in AFNY.
For that I used the function AFNI_Index2XYZcontinuous. the function gets the ( indexes -1) since matlab starts from 1 and not 0 but still, I do not get in AFNI the right location.
When trying to locate the origin (i.e. [err,XYZdic] = AFNI_Index2XYZcontinuous ([0 0 0], InfoV, 'RAI'); I get XYZdic = [-90 120 -20] which is [y,z,x] and not [z,y,x] as it sould be according to the Info.LABEL .

How can I get the true locations for AFNI and in which coordinate system I should use for that?
I do know the dim of my data so I know that z,y,x is the right order (as I can see in Info.LABEL), but I dont know the directions of each axes and how to locate in AFNI the true relevant voxel.

Thanks

Inbal
Subject Author Posted

Matlab to AFNI - coordinate matching

Inbal Shapira Lots June 24, 2012 07:37AM

Re: Matlab to AFNI - coordinate matching

ziad June 25, 2012 12:02PM



Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
CAPTCHA
Message:

Powered by Plone

phorum.org

This site conforms to the following standards: