O'Reilly logo

Practical Guide to Machine Vision Software: An Introduction with LabVIEW by Steven Ready, Kye-Si Kwon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2Image Acquisition with LabVIEW

This chapter describes how to acquire and display images using a USB camera. A USB camera is used in this book because these cameras can be inexpensive, easy to use, and easily acquired.

The methods for image acquisition using a USB camera are different according to which LabVIEW version is used, although the 2013 version of LabVIEW as well as versions later than LabVIEW 2009 is compatible with the methods described in this book. Readers having earlier software versions may still be able to refer to this book since most image processing functions are the same or very similar irrespective of software version.

When using a USB camera, ensure that the camera is compatible with Microsoft's multimedia API (DirectShow or Media Foundation). Also, the software driver for the USB camera, National Instruments LabVIEW software, and LabVIEW Vision Acquisition Module will need to be installed. The installation instructions for the camera drivers may be found at the http://www.ni.com/drivers/. LabVIEW NI Vision Acquisition software module allows you to acquire, process, display, and save images. LabVIEW and the Vision Development module can be purchased through the National Instruments Web site at www.ni.com. A trial version of the software can also be acquired from http://www.ni.com/downloads/evaluation.htm.

2.1 Acquiring Images with MAX

With the image acquisition software installed, run the Measurement & Automation Explorer (MAX) application (which is installed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required