From: merdim <merdim06@yahoo.com>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Re: Out of memory- Try to read dicom file
Message-ID: <ef4915a.1@webcrossing.raydaftYaTP>
Date: Sat, 23 Dec 2006 08:47:48 -0500
References: <ef4915a.-1@webcrossing.raydaftYaTP> <ef4915a.0@webcrossing.raydaftYaTP>
Lines: 32
NNTP-Posting-Host: 69.138.169.186
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:384999



Here is the error massage:

??? Out of memory. Type HELP MEMORY for your options.

Error in ==> dicomread>processRawPixels at 657
  X = reshape(metadata.InstanceData(1:numPixels), metadata.Columns,
...

Error in ==> dicomread>newDicomread at 222
  X = processRawPixels(metadata);

Error in ==> dicomread at 82
  [X, map, alpha, overlays] = newDicomread(msgname, varargin{:});
 I use matlab version of 7.0.4.365 (R14) Service Pack 2
 
Ofek Shilon wrote:
>
>
> try and debug-step dicomread as you run it. where *exactly* does it
> break? (step-in as needed)
>
> merdim wrote:
>>
>>
>> Hi all,
>> I have a dicom file which is 258MB. When I try to read this
file
>> using "dicomread" comand, matlab gives error "Out of memory ".
I
>> increased virtual memory of windows but this did not work. Does
>> anyone have any idea how can I read the dicom file?
>> thank you