Re: Fastest way to acquire/write image data?



In article <g4t41e$9jg$1@xxxxxxxxxxxxxxxxxx>,
Dave Tarkowski <dtarkows@xxxxxxxxxxxxx> wrote:
Evan 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
fwrite

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
less data.

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
different configurations.

"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
.



Relevant Pages

  • Re: Features in low-resolution Range Images
    ... more or less noisy intensity, ... might need to do pre-processing to improve SignalToNoise ratio. ... track objects represented by point-clouds using the setup. ... images you share, or are these images only form a near perfect setup? ...
    (sci.image.processing)
  • Re: often cannot insert images into Word document
    ... I can insert images using the InsertPicture command from the "Insert" ... There is nothing wrong with my setup. ... done that's causing the bug to continue to manifest with my setup. ... and drop of images files into Word docs seems to be fine work around. ...
    (microsoft.public.mac.office.word)
  • Re: Why not make the sensor larger?
    ... off the sensor at speeds faster than the speed of light? ... that's moving electrons from pixels ... Then add delay between images of just 1/1000 second, ... there were enough photons in those 16 exposures ...
    (rec.photo.digital)
  • Re: [SLE] 9.2 64Bit + RAID = very slow NFS transfer and high load??
    ... Perhaps you can also setup a non-raid partition, ... We managed to get read speeds ... processors can idle, then they will still spen uptp 80% in I/O wait ... disks in SATA-RAID visible to the SuSE as one large Logical Disk. ...
    (SuSE)
  • Re: OT - First Person View - A new way to fly a r/c airplane
    ... it was racing - but it does bring up the intriguing possibility of fixing up a similar setup to one of those jet r/c planes they have. ... Top speed is presumably limited by the ability to control the aircraft - go too fast and you can't react quickly enough with a conventional setup, plus it would disappear into the distance very quickly and you wouldn't be able to see it. ... The higher the speeds, the more catastrophic. ... I guess you can live with static and glitches but a couple of seconds dropout would probably be enough to have the plane in a tree. ...
    (rec.autos.sport.f1)