slevy4 | 13 Nov 07:05
Picon
Favicon

Marsbar Export

Hi All,

I'm having some issues exporting the ROI files.  I'm building the ROI off of an image file I made with ImCalc in
SPM, manipulating the file, then I want to export the ROI file back into an image format (or any other format
I can use in Matlab) as a cluster image.  However, when I try to export, I keep getting an error about the dim
(1, 4) (sorry can't quote the exact error because I'm on a different computer).

Any ideas on what's causing it/what I can do to fix it?

Thank you,
Shira

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
ShiraLevy | 15 Nov 20:38
Picon
Favicon

Re: Marsbar Export


An edit - Ok the exact error is: 
??? Error using ==> spm_create_vol5>create_vol at 32
"dim" field is the wrong size (1  4).

When the ROI is created in matlab is it changed to 3 dimensions and now it's
trying to export back out to 4?  How would I get around this?

Thanks,
Shira

Hi All,

I'm having some issues exporting the ROI files.  I'm building the ROI off of
an image file I made with ImCalc in SPM, manipulating the file, then I want
to export the ROI file back into an image format (or any other format I can
use in Matlab) as a cluster image.  However, when I try to export, I keep
getting an error about the dim (1, 4) (sorry can't quote the exact error
because I'm on a different computer).

Any ideas on what's causing it/what I can do to fix it?

Thank you,
Shira

--

-- 
View this message in context: http://old.nabble.com/Marsbar-Export-tp26331885p26362494.html
Sent from the MarsBaR mailing list archive at Nabble.com.

------------------------------------------------------------------------------
(Continue reading)

John Gelburg | 19 Nov 08:06
Picon

What is the order of the voxels in *_roi.mat file

Hi,

I would like to understand what is the order of the voxels in *_roi.mat file. As far as I have found it is not the descending order of t-values (the activation strength). Specifically, I am interested is whether  each consecutive voxel is contingent to the previous cluster. For example, suppose I write the *_roi.mat, which contains 200 voxels. Now, by using my custom script I want to create the*_roi.mat of 100 voxels out of the 200 original voxels (I do not care about significance threshold). Would it make sense to take first 100 voxels in *_roi.mat file? Alternatively, if I first  sort 200 voxels in descendant order by contrast t-value and then take first 100 voxels, I am not promised to have the contingent cluster.

Thanks for help,
John
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Marsbar-users mailing list
Marsbar-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/marsbar-users
Matthew Brett | 24 Nov 20:51
Picon
Gravatar

Re: [SPM] MARSBAR error

Hi,

On Tue, Nov 24, 2009 at 11:41 AM, Fred Sanders <freddy499 <at> gmail.com> wrote:
> I'm doing an ROI analysis with MARSBAR.  It works great for one region, but
> when I add a second region, I get the following error:
> ??? Function 'block_rows' is not defined for values of class 'cell'.
> Error in ==> marsbar at 976
> marsY = block_rows(marsY, row);
> Error in ==> spm at 831
> evalin('base',CBs{v-1})

Could you post the script that generates the error?

Thanks a lot,

Matthew

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Gmane