Re: Fastest way to acquire/write image data?
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Mon, 7 Jul 2008 17:01:35 +0000 (UTC)
In article <g4t41e$9jg$1@xxxxxxxxxxxxxxxxxx>,
Dave Tarkowski <dtarkows@xxxxxxxxxxxxx> wrote:
I plan to use the Image Acquisition toolbox to acquire
images from a Hammamatsu Orca firewire CCD camera attached
to a microscope. Once an image is acquired, it seems to me
that the fastest way to write the data to disc is using
Using fwrite may or may not be faster than writing out a JPEG image.
You should benchmark both on your machine to see which is faster. The
reason that writing out a JPEG could be faster is that you are writing
Yes, I agree.
Any time I see a request for the "fastest" way to do something,
I hesitate, as the "fastest" way is often dependant upon many
different variables, possibly even down to the level of what
the rated speed is of your front side bus (FSB) compared to your
DDR memory, or down to exactly which make and model of CPU you are
using (different models have different internal speed tradeoffs,
and different manufacturers can have quite different speeds of
some types of instructions, or might offer additional instructions
that make the work must faster.) For "fastest", a number
of representative data samples must be benchmarked in a number of
"Fastest" is, one must remember, a superlative, not a comparative:
something can be called "fastest" only if it is faster than the
alternatives in at least one case and no slower than the alternatives
in the other cases. And that seldom happens with modern equipment:
there are usually some circumstances under which a setup is faster
and some under which a different setup is faster. A particular setup
might be faster in 9 out of 10 cases, but if that 10th case forms
the bulk of the work that are likely to be encountered in practice
at a particular work-site, then the "only sometimes faster" setup
might win the combined race easily.
"History is a pile of debris" -- Laurie Anderson
- Prev by Date: Two different plots in one figure
- Next by Date: Re: 3D plot
- Previous by thread: Re: Fastest way to acquire/write image data?
- Next by thread: Re: Fastest way to acquire/write image data?