Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Reading images of size >1gb on 32bit System

Subject: Reading images of size >1gb on 32bit System

From: Sebastian Bludau

Date: 16 May, 2008 08:18:02

Message: 1 of 2

Hi,

i would like to read tif images with a possible file size
larger than 1gb. If i use feature('memstats') the largest
continuous memory block on my system is about 900mb.

Is there a easy way to read those images without having the
"out of memory" problem on my system.

Is it possible to resize the image while reading it, so that
the image fits into my memory?

I thought about
[...] = IMREAD(...,'PixelRegion',{ROWS, COLS})
Maybe i can read parts of the image, resize these parts and
put the resized part into a new matrix which should contain
the final rescaled image. (Hope there is a more easy way to
handle my images)

Thx for any ideas

Sebastian

Subject: Re: Reading images of size >1gb on 32bit System

From: ImageAnalyst

Date: 16 May, 2008 11:04:53

Message: 2 of 2

On May 16, 4:18=A0am, "Sebastian Bludau" <s.blu...@fz-juelich.de> wrote:
> Hi,
>
> i would like to read tif images with a possible file size
> larger than 1gb. If i use feature('memstats') the largest
> continuous memory block on my system is about 900mb.
>
> Is there a easy way to read those images without having the
> "out of memory" problem on my system.
>
> Is it possible to resize the image while reading it, so that
> the image fits into my memory?
>
> I thought about
> [...] =3D IMREAD(...,'PixelRegion',{ROWS, COLS})
> Maybe i can read parts of the image, resize these parts and
> put the resized part into a new matrix which should contain
> the final rescaled image. (Hope there is a more easy way to
> handle my images)
>
> Thx for any ideas
>
> Sebastian
----------------------------------------------------------
Sebastian:
For $70 I just got 2 GB of additional memory from Dell. You could try
that. Are you on Windows XP? Have you also given the /3GB option in
the boot.ini file a try (Google it).
Regards,
ImageAnalyst

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
imread Sebastian 16 May, 2008 04:20:04
large images Sebastian 16 May, 2008 04:20:04
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics