The image is only 384 Mbytes when represented as double precision, so
I'm not sure why MATLAB is struggling. It would seem unlikely that you
are reaching your 4Gbyte (or 2Gbyte, not sure) limit on how much memory
MATLAB can use. If this is the case, then maybe you have other programs
running, which are using too much memory. Maybe try quitting them and
having another go. If this doesn't help, then you could have a word
with your network admin to see if they can increase the amount of memory
available for MATLAB.
Best regards,
-John
On Tue, 2009-09-29 at 10:19 +0200, Markus Gschwind wrote:
> Dear Experts,
>
> I have an MPRAGE whith the huge dimensions of 512x512x192 (=0.45mm voxelsize).
>
> When trying to spm_segment it, MATLAB crashes.
>
> I thought to reslice it to the half size (1mm voxelsize). However when
> running the "Correg Reslice", it gives me the following error.
>
> Running "Coreg: Reslice"
>
> Error running job: Error using ==> spm_bsplinc
> Out of memory. Type HELP MEMORY for your options.i
> In file "C:\SPM\spm5\spm_reslice.m" (v946), function "reslice_images"
> at line 223.
> In file "C:\SPM\spm5\spm_reslice.m" (v946), function "spm_reslice" at line 111.
> In file "C:\SPM\spm5\spm_config_coreg.m" (v512), function "reslice" at line 306.
> --------------------------
> Done.
>
> ... and nothing is done.
>
> BTW:
> 1.) I all the time work with this spm5 in this MATLAB 2006b and never
> have problems.
> 2.) I can smooth this huge image, it is thus not a general problem of the image.
>
> Any ideas how I could reduce the big dimensions of that image?
>
> Thank you in advance!
> Markus
>
>
>
--
John Ashburner <[log in to unmask]>
|