17.12.2018 Views

Image Acquisitionand Proces

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Image</strong> <strong>Proces</strong>sing 127<br />

FIGURE 5.58 Using Read<strong>Image</strong> and Write<strong>Image</strong>.<br />

FIGURE 5.59 Using ReadMovie.<br />

Also, it might be necessary for the software to drop frames or to extend the time<br />

frames are displayed in order to play the movie in real-time, hence the Play at full speed<br />

button.<br />

5.7.1.4 Writing Movies<br />

Movie writing is similar to multiple sequential images writing (Figure 5.60). Currently,<br />

only spatial compression is supported, as using a format with temporal<br />

compression will trigger a new key frame for each frame. QT_MovieAddFrame.vi<br />

adds an image to the created movie and the frame duration (expressed in the movie<br />

time base ticks, not in seconds) is speciÞed. Once all of the required frames are<br />

added, the movie is closed with QT_MovieClose.vi.<br />

5.7.1.5 Video Grabbing (Figure 5.61)<br />

Video grabbing was the Þrst and only function of the initial version of QTLib and<br />

although the original version supported only one video input at a time, the current<br />

version supports up to 32 devices in parallel (Figure 5.61). QTLib has been successfully<br />

tested with USB, 1394 FireWire, serial and built-in digitizer boards. As<br />

described above, QTLib relies on video digitizer drivers to interface with image<br />

acquisition hardware and although most of them respect the QuickTime standard,<br />

some do so only partially or not at all, so you should conÞrm your hardware will<br />

support the standard fully before purchasing it. Under Windows, the original QTLib

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!