JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for SPM Archives


SPM Archives

SPM Archives


SPM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

SPM Home

SPM Home

SPM  March 2013

SPM March 2013

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: MNI coordinates of activations map

From:

James Lee <[log in to unmask]>

Reply-To:

James Lee <[log in to unmask]>

Date:

Tue, 19 Mar 2013 15:51:50 -0600

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (241 lines)

Luigi,

For a long time I have wanted a routine that would look up anatomic
locations directly in MNI coordinates, without the need to convert to
Talairach coordinates, with the known weakness of the single-subject
Talairach atlas.

So I wrote a simple matlab script, included below, which is based on
the more accurate probabilistic Hammers_mith_atlas_n30r83 atlas. The
script essentially loads the atlas image, and the list of labels, and
then "looks up" the label at the voxel coordinates requested by the
user.

Thought you might find this useful!

Jim



% Script to find anatomic location in MNI coords using Hammers_mith n30r83 atlas
% Written Mar 19, 2013 by James Lee, Imaging and Neuroscience center,
%       University of Utah
% Known to run with spm5, not tested on any other version
%
% Run this from the directory that has the Hammers_mith_atlab_n30r83_SPM5.img

addpath('/Users/jim/spm5_1782');

% Load the atlas image

disp('Loading Hammers_mith atlas n30r83 ...')
P = char('Hammers_mith_atlas_n30r83_SPM5.img');
V  = spm_vol(P);
    for k=1:V.dim(3),
         d   = V.dim(1:2);
         M   = spm_matrix([0 0 k]);
         img = spm_slice_vol(V,M,d,0);
         ham(:,:,k)=img; % THE slice index can go first OR last
     end

% Enter array of all labels -- better check this for typos
% ODD NUMBERS = RIGHT SIDE

labels{1}='R hippocampus';
labels{2}='L hippocampus';
labels{3}='R amygdala';
labels{4}='L amygdala';
labels{5}='R anterior temp lobe, medial part';
labels{6}='L anterior temp lobe, medial part';
labels{7}='R anterior temp lobe, lateral part';
labels{8}='L anterior temp lobe, lateral part';
labels{9}='R parahippocampal and ambient gyri';
labels{10}='L parahippocampal and ambient gyri';
labels{11}='R superior temp gyrus, posterior part';
labels{12}='L superior temp gyrus, posterior part';
labels{13}='R middle and inferior temporal gyrus';
labels{14}='L middle and inferior temporal gyrus';
labels{15}='R fusiform gyrus';
labels{16}='L fusiform gyrus';
labels{17}='R cerebellum';
labels{18}='L cerebellum';
labels{19}='brainstem';
labels{20}='L insula';
labels{21}='R insula';
labels{22}='L lateral remainder of occipital lobe';
labels{23}='R lateral remainder of occipital lobe';
labels{24}='L cingulate gyrus, anterior part';
labels{25}='R cingulate gyrus, anterior part';
labels{26}='L cingulate gyrus, posterior part';
labels{27}='R cingulate gyrus, posterior part';
labels{28}='L middle frontal gyrus';
labels{29}='R middle frontal gyrus';
labels{30}='L posterior temporal lobe';
labels{31}='R posterior temporal lobe';
labels{32}='L inferiolateral remainder of parietal lobe';
labels{33}='R inferiolateral remainder of parietal lobe';
labels{34}='L caudate nucleus';
labels{35}='R caudate nucleus';
labels{36}='L nucleus accumbens';
labels{37}='R nucleus accumbens';
labels{38}='L putamen';
labels{39}='R putamen';
labels{40}='L thalamus';
labels{41}='R thalamus';
labels{42}='L pallidum';
labels{43}='R pallidum';
labels{44}='corpus callosum';
labels{45}='R lateral ventricle (excluding temporal horn)';
labels{46}='L lateral ventricle (excluding temporal horn)';
labels{47}='R lateral ventricle, temporal horn';
labels{48}='L lateral ventricle, temporal horn';
labels{49}='third ventricle';
labels{50}='L precentral';
labels{51}='R precentral';
labels{52}='L straight gyrus';
labels{53}='R straight gyrus';
labels{54}='L anterior orbital gyrus';
labels{55}='R anterior orbital gyrus';
labels{56}='L inferior frontal gyrus';
labels{57}='R inferior frontal gyrus';
labels{58}='L superior frontal gyrus';
labels{59}='R superior frontal gyrus';
labels{60}='L postcentral gyrus';
labels{61}='R postcentral gyrus';
labels{62}='L superior parietal gyrus';
labels{63}='R superior parietal gyrus';
labels{64}='L lingual gyrus';
labels{65}='R lingual gyrus';
labels{66}='L cuneus';
labels{67}='R cuneus';
labels{68}='L medial orbital gyrus';
labels{69}='R medial orbital gyrus';
labels{70}='L lateral orbital gyrus';
labels{71}='R lateral orbital gyrus';
labels{72}='L posterior orbital gyrus';
labels{73}='R posterior orbital gyrus';
labels{74}='L substantia nigra';
labels{75}='R substantia nigra';
labels{76}='L subgenual frontal cortex';
labels{77}='R subgenual frontal cortex';
labels{78}='L subcallosal area';
labels{79}='R subcallosal area';
labels{80}='L pre-subgenual frontal cortex';
labels{81}='R pre-subgenual frontal cortex';
labels{82}='L superior temp gyrus, anterior part';
labels{83}='R superior temp gyrus, anterior part';

addr(1) = 0;

while addr(1) ~= 999
addr(1:3)=input('Enter X Y Z voxel coordinates in brackets...or 999
for exit >> ');
if (addr(1) ~= 999) answer = ham(addr(1), addr(2), addr(3));
        else answer=0;
end
if (answer > 0) disp(labels(answer));
        else disp('No value found');
end % End of if
end % End of while


On 3/12/13, John Ashburner <[log in to unmask]> wrote:
>> I did custom pre-processing, so, of course, I normalized functional
>> images
>> with normalize fiunction of SPM.
>>
>> So, the coordinates I see in activations are MNI coordinates?
>
> If you spatially normalised the images by matching them to one of the
> MNI-space template images supplied with SPM, then they should be in
> MNI space, with co-ordinates in MNI space.
>
>
>> In MNI space, are positive values of x coordinate related to right
>> emisphere?
>
> They should be.
>
>
>> I'm asking this, because, for example, for right hand task, I see
>> more activations in right emisphere (positive value of x coordinate). Is
>> it
>> possible?
>
> This will depend on the file format of the original images.  If you
> have used NIfTI throughout, then the left and right sides should not
> get mixed up.  If they do come out wrong, then this would indicate a
> bug (probably one of mine) somewhere in the code.
>
> If the original data were the old ANALYZE format, as would be used
> with older versions of SPM (before SPM5), then there is a chance of
> the laterality getting mixed up.  However, if you converted your
> original DICOM files using software that knows about NIfTI (and the
> way it saves orientations in the headers), and all image manipulations
> were with software that is NIfTI compatible, then there should not be
> a problem.
>
> Note that the slices option of the stats results sometimes displays
> the left side of the brain on the right side of the image.  However,
> the x coordinates reported should be correct.
>
> Best regards,
> -John
>
> On 11 March 2013 20:08, Luigi Pavone <[log in to unmask]> wrote:
>> Thanks Dr. Lee, thanks Dr. Ashburner., thanks Dr. Hammers.
>>
>> I did custom pre-processing, so, of course, I normalized functional
>> images
>> with normalize fiunction of SPM.
>>
>> So, the coordinates I see in activations are MNI coordinates?
>>
>> In MNI space, are positive values of x coordinate related to right
>> emisphere? I'm asking this, because, for example, for right hand task, I
>> see
>> more activations in right emisphere (positive value of x coordinate). Is
>> it
>> possible?
>>
>> Thanks,
>>
>> Luigi
>>
>>
>> 2013/3/11 James Lee <[log in to unmask]>
>>>
>>> Luigi,
>>>
>>> If you want the coordinates in Talairach space you can use mni2tal.
>>> You may want to consider using icbm2tal, which is evidently more
>>> accurate. See  the comments at  http://www.brainmap.org/icbm2tal.
>>>
>>> Jim
>>>
>>> On 3/11/13, John Ashburner <[log in to unmask]> wrote:
>>> > If your data are spatially normalised to MNI space, then the reported
>>> > coordinates will also be in MNI space.
>>> > Best regards,
>>> > -John
>>> >
>>> >
>>> > On 11 March 2013 16:05, Luigi Pavone <[log in to unmask]> wrote:
>>> >> Hi to all.
>>> >>
>>> >> I did fMRI analysis with spm v.8. Now I need to translate coordinates
>>> >> coming
>>> >> from fMRI results (button "whole brain" in panels "p value") in
>>> >> tailarach
>>> >> coordinates.(please see tha attached file)
>>> >>
>>> >> Are they MNI coordinates, so i can use mni2tal m file?
>>> >>
>>> >> Thanks,
>>> >>
>>> >> Luigi
>>> >
>>>
>>
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager