romain valabregue | 3 Dec 11:09
Picon

Re: roi values

hello

you can get the milimetric value of the roi point. If your roi has been 
defined in a volume which is in
the MNI space then you'll get the coordinates in MNI space ...

roi_o = maroi('roiname.mat')
sp = native_space(roi_o);  %gives you the space of the image where the 
roi was define
Pos = voxpts(roi_o,sp);

Pos will contain the coordinate in pixel space.
to converte it in milimeter :

Posmm = sp.mat(1:3,1:3)*Pos + repmat(sp.mat(1:3,4),1,size(Pos,2));

I hope this help

Romain

Jac501 a écrit :
> Dear users,
>
> Sorry, I've serched the forum and can't find an obvious answer to this. 
>
>
> How do I extract roi x y z coordinates in MNI, or even better Tal space? I'm
> not interested in any stats, just cordinates for binary roi's to use with
> another program. At the moment I can on get centre of gravity from the .mat
> file. 
(Continue reading)

romain valabregue | 3 Dec 10:48
Picon

Re: Base space for ROI & Coordinate in millimeters

Hello,
I do not see a particular reason to save milimeters or image space 
coordinate. The important feature is to save
the volume dimention an orientation which were used to define the roi.
In this way you can get the roi in any other space. (and you can also 
the milimeter position)

roi_o = maroi('roiname.mat')
V = spm_vol('path_to_the_volume_you_want_to_put_the_roi_in')
sp = mars_space(V);
Pos = voxpts(roi_o,sp);

Pos will contain the coordinate in pixel space of the new image.

I hope this help

Jaime Shinsuke Ide a écrit :
>
> Dear all,
>
> I was confused about how the ROI’s are saved in Marsbar, but I think 
> now I got the point.
>
> They are saved in their native spaces.
>
> So, after loading the roiname.mat file:
>
> >> roi_obj = maroi(‘roiname.mat’)
>
> We can see it’s native space doing:
(Continue reading)

Igor_ | 3 Dec 16:20
Picon
Favicon

Marsbar doesn't recognize analyze images (spm5)


Dear Matthew, dear users,

i have a basic question on using Marsbar under spm5.
First, I couldn’t run Marsbar at all, then I downloaded spm5 files from
https://svn.sourceforge.net/svnroot/marsbar/trunk/marsbar/spm5/

Afterwards, I could run Marsbar, but I can not download binary images (in
analyze format) for creation of a VOI (option "import"). Specifically,
Marsbar seems to not recognize analyze images at all. Do I need to download
any other additional matlab files to resolve this problem? Sorry for such a
simple (stupid?) question – I, as a simple physician, have unfortunately no
idea from programming or matlab..
Thanks in advance.
Igor
--

-- 
View this message in context: http://www.nabble.com/Marsbar-doesn%27t-recognize-analyze-images-%28spm5%29-tp20814932p20814932.html
Sent from the MarsBaR mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Marsbar-users mailing list
Marsbar-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/marsbar-users
Matthew Brett | 6 Dec 02:42
Picon
Gravatar

Re: Marsbar doesn't recognize analyze images (spm5)

Hi,

> i have a basic question on using Marsbar under spm5.
> First, I couldn't run Marsbar at all, then I downloaded spm5 files from
> https://svn.sourceforge.net/svnroot/marsbar/trunk/marsbar/spm5/

Hmm.  That doesn't sound like a good fix, but I don't know what
problems you had.  Was there an error message?

> Afterwards, I could run Marsbar, but I can not download binary images (in
> analyze format) for creation of a VOI (option "import"). Specifically,
> Marsbar seems to not recognize analyze images at all.

That's strange - are you selecting the .hdr files by any chance -
rather than the .img files?

How do you know that marsbar is not recognizing analyze images?

Best,

Matthew

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
Matthew Brett | 7 Dec 02:07
Picon
Gravatar

Re: ROI creation

Hi,

Sorry to be so slow to reply - both times...

> This question was posted at the beginning av this year, but I could not find
> the answer to it. I am trying to combine a pair of the marsbar AAL ROIs
> (specifically the fusiform and lingual gyri). I want to use it to compare
> these structures bilaterally. I also want to write the combination to an
> image such that I could use it for  analysis via small volume corrections
> within the ROI.
>
> Unfortunately, when I try to combine them I get...
>
> Warning: No volume resulted for ROI
>> In marsbar at 616
>   In marsbar at 1800
>   In marsbar at 485
>   In spm at 1276
>
> I have, however, been able to take a self generated functional ROI and
> combined it with a box ROI.

Is it possible that you have been using

r1 & r2

to combine the ROIs?  This gives you the voxels that are present in r1
_and_ in r2.  If you want voxels that are present in r1 _or_ r2, you
need:

(Continue reading)

Igor_ | 8 Dec 09:53
Picon
Favicon

Re: Marsbar doesn't recognize analyze images (spm5)


Hi, 

>> i have a basic question on using Marsbar under spm5. 
>> First, I couldn't run Marsbar at all, then I downloaded spm5 files from 
>> https://svn.sourceforge.net/svnroot/marsbar/trunk/marsbar/spm5/ 
> 
> Hmm. That doesn't sound like a good fix, but I don't know what 
> problems you had. Was there an error message? 

??? Error while evaluating uicontrol Callback. 

Warning: Name is nonexistent or not a directory:
C:\MATLAB6p5\work\spm5\toolbox\marsbar\spm5. 
  In C:\MATLAB6p5\toolbox\matlab\general\path.m at line 116 
  In C:\MATLAB6p5\toolbox\matlab\general\addpath.m at line 88 
  In C:\MATLAB6p5\work\spm5\toolbox\marsbar\marsbar.m at line 89 
  In C:\MATLAB6p5\work\spm5\toolbox\marsbar\marsbar.m at line 57 
  In C:\MATLAB6p5\work\spm5\spm.m at line 1502 
MarsBaR analysis functions prepended to path 
??? Undefined function or variable 'mars_veropts'. 

Error in ==> C:\MATLAB6p5\work\spm5\toolbox\marsbar\marsbar.m 
On line 93 ==> mars_veropts('defaults'); 

Error in ==> C:\MATLAB6p5\work\spm5\toolbox\marsbar\marsbar.m 
On line 57 ==> marsbar('on'); 

Error in ==> C:\MATLAB6p5\work\spm5\spm.m 
On line 1502 ==> evalin('base',xTB(i).prog); 
(Continue reading)

Manish.Dalwani | 8 Dec 19:33
Favicon

units for marsbar mean summary time course!

Hi Marsbar users,

 

Can you kindly tell me what the units are for mean summary time course derived for a ROI?

 

Regards,

Manish Dalwani

Sr. PRA

Dept. of Psychiatry

University of Co at Denver

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Marsbar-users mailing list
Marsbar-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/marsbar-users
Matthew Brett | 8 Dec 20:59
Picon
Gravatar

Re: units for marsbar mean summary time course!

Hi,

> Can you kindly tell me what the units are for mean summary time course
> derived for a ROI?

The units are the usual SPM units, that is, change relative to a
baseline of 100, where 100 is the mean of the signal within the brain.
 Sorry, that's a bit brief, partly because the SPM units are a little
difficult to explain fully.

Best,

Matthew

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
Lili Wu | 23 Dec 10:49
Picon
Favicon

how to use the group analysis result as roi

Hi, all

I have a question about the ROI definition and looking for some helps.

I want to use the functional ROI from group analysis. The cluster that need to be analysised by Marsbar were the group map and saved as *roi.mat files, then write them as  binary images (ROI definition - Export - Image).

I want to these *.img files for individual analysis and I wouder wether the steps was right:

1   import the ROI image ( ROI definition>import ROI from cluster image, specify the ROI image file)  

2   Design>set design from file (choose the individual SPM.mat file)

3  Data> Extract ROI data (default)

4  Results> estimate results 

               >%signal change (specify the events and OK, then the output of the Matlab                        commond window is the signal change result of this event within the defined                      ROI)

Is there any other steps that I missed? Is there any need to extract the percent of activated voxels from an ROI? Since I have already used a strict threshold in the group analysis.

Any suggestions would be appriciated.  

Best, 

Lili Wu


好玩贺卡等你发,邮箱贺卡全新上线!
------------------------------------------------------------------------------
_______________________________________________
Marsbar-users mailing list
Marsbar-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/marsbar-users

Gmane