MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Slow image import

  • To: mathgroup at
  • Subject: [mg113069] Re: Slow image import
  • From: Igor Antonio <igorantonio at>
  • Date: Tue, 12 Oct 2010 04:29:32 -0400 (EDT)
  • References: <i8pgf3$fgp$>

On Oct 9, 5:34 am, to <todu... at> wrote:
> Dear all,
> I was trying to use Mathematica 7.0.1 for batch image processing.  I
> used the Import command to load 4000x2000 pixel tiff files.  Using the
> timing command, I noticed it takes about 0.95 second just to load the
> image !!!!  Using another system, I can do the same in about 0.15 s. =
> 6-7 x faster).
> Is there any way to speed things up ???  I already tried to first
> write the tiff image data as a raw binary file and loading it again.
> It still take about 0.7 seconds in that case.
> Thanks in advance,
> Peter

Hello Peter,

You'll be happy to know that import/export of TIFF has been revamped
for version 8, which will be released soon.  It is considerably faster
and much more memory efficient.  I have benchmarked timings 7x to 18x
faster (depending on the type of TIFF file being imported).  Same
applies to JPEG import/export.


Igor Antonio
Software Technology
Wolfram Research, Inc.

  • Prev by Date: Re: local variables - Module, For loop
  • Next by Date: Re: List to infix
  • Previous by thread: Re: Slow image import
  • Next by thread: grey levels in TuringMachine