Skip to Content
Practical Guide to Machine Vision Software: An Introduction with LabVIEW
book

Practical Guide to Machine Vision Software: An Introduction with LabVIEW

by Kye-Si Kwon, Steven Ready
April 2015
Beginner content levelBeginner
296 pages
7h 8m
English
Wiley-VCH Verlag
Content preview from Practical Guide to Machine Vision Software: An Introduction with LabVIEW

16AVI File Write and Read

The AVI (Audio Video Interleaved) file format contains audio and video information within a single file. The audio part will not be discussed here. We will mainly be focusing on video and image aspects of AVI files. Specifically, methods to create AVI file from image files and read image frames from AVI file will be discussed in detail.

16.1 AVI File Creation Using Image Files

In Chapter 15, images acquired using LabVIEW were saved in sequential order. In this section, these sequential images are used to make an AVI file. Figure 16.1 shows the block diagram for making an AVI file using the saved images.

img

Figure 16.1 Block diagram for making an AVI file using existing image files.

As seen in Figure 16.1, two paths are used: one folder path from which to read image files and another to save the image sequence as an AVI file. From Figure 16.1 img, the Recursive File List.vi retrieves the number of files found in a folder and is used to specify the number of files read in using a FOR loop. All these images in the folder are then read using the Image Read function img in sequential order via an indexed FOR loop. Each image from the folder of previously stored image ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Digital Signal Processing System-Level Design Using LabVIEW

Digital Signal Processing System-Level Design Using LabVIEW

Nasser Kehtarnavaz, Namjin Kim
Machine Learning for OpenCV 4 - Second Edition

Machine Learning for OpenCV 4 - Second Edition

Aditya Sharma, Michael Beyeler (USD), Vishwesh Ravi Shrimali, Michael Beyeler
OpenCV 3 Computer Vision with Python Cookbook

OpenCV 3 Computer Vision with Python Cookbook

Aleksei Spizhevoi, Aleksandr Rybnikov
LabVIEW Graphical Programming, 4th Edition

LabVIEW Graphical Programming, 4th Edition

Gary Johnson, Richard Jennings

Publisher Resources

ISBN: 9783527337569Purchase book