ons, 24 02 2010 kl. 04:02 +0100, skrev David Grundberg: > Søren Hauberg skrev: > > The obvious extension is to allow for > > > > J = imread ("myfile.tif", 3:5); > > > > This is already supported. The result J is a four-dimensional matrix. I > think it makes perfect sense.
Ahh, that is indeed a good solution. It seems like Matlab supports something similar, but only for gif images. I don't really have any multi-frame gif images (I don't think I have any gif images at all, actually), so I can't check if they use the same API. Also, for gif images it seems they support doing J = imread ('myfile.gif', 'frames', 'all'); which is kinda what is being suggested here. I guess we should try to copy this API. Søren ------------------------------------------------------------------------------ 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