Carnë Draug wrote:
> Hi
>
> Octave seems to take a really long time to imread most of my multipage
> tiffs. Sure, I'm talking about large ones, 2500 pages of 350x300
> pixels, but still I think it's too long. More than 3 hours.
>
> I picked one image and made substacks of it with different sizes. The
> time to read one image (one page, not the whole file) increased with
> the number of pages in the file, and seemed independent of the number
> of pages I wanted to read. That is, even if I only tried to read the
> first page of a file, if the file had many pages it would still take a
> long time. I hope it's clear what I'm trying to explain.
>
> Don't know if this can be of any help, but the software I use for a
> pre-analysis of my images (called ImageJ), it's free/open source
> (public domain license according to wikipedia) and takes little more
> than 4 seconds to read the same image that octave takes more than 3
> hours. I'm not complaining how octave is bad in comparison to others!
> With my poor knowledge on the subject of programming, it just seems
> that maybe it could be a good place to look if someone ever tries to
> make it faster, without problems of licenses and in the good spirit of
> sharing knowledge/code.
>
> Carnë
>   

Carnë,

Are you running Octave 3.2 or the development version? The 3.2 suffers 
from poor imread performance. I patched octave to make imread 10x faster:

http://hg.savannah.gnu.org/hgweb/octave/rev/13d382fc758b

There might be a problem with multi-frame images, I don't have any such 
image so I can't tell. Do you read the image all at once or frame by frame?

If the problem really is with imread, this should be reported to 
b...@octave, since imread is part of core.

hth,
David

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to