Image processing in LabVIEW

Behaviors – getting started

The Image Processing VIs are a rudimentary set of image capture and analysis VIs that allow the user to grab images from a USB camera (using Chris Salzmann’s QuickTime VIs) and analyze them.

These VIs can be used to determine color information, threshold, binary morphology, blob detection. They can read and save standard image types, and can also read and save Quicktime movies.

They are not as capable as the LabVIEW Image Processing Toolkit but they run on Mac OS X and Windows platforms.

Because of the processing required, these VIs will not work when targetting to the NXT. Instead they require the program to be run on the computer (i.e. Main Application Instance).

System requirements

  • LabVIEW
  • QuickTime
  • Webcam (built-in or USB)
  • Windows 98 or better
  • Mac OS X 10.6 or better
  • 2GB RAM


NOTE: If you have installed ROBOLAB for LabVIEW, you will have an early version installed and in your Add-ons palette.

To install the most recent version of the Image Processing vis, follow the following steps:

  1. Download the library here.
  2. Unzip the library.
  3. Move the library into your “LabVIEW > vi.lib > user.lib” folder (under the Applications folder in Mac OS X and the Program Files in Windows).
  4. Open LabVIEW.
  5. Make sure to save all changes when it recompiles the library for your operating system.
The palette
A simple TV
Find the red pen cap

NOTE: Some installations end up with a broken arrow and are not able to run a number of the VIs. This may be because the lowest level QT vi has lost the connection to the lsb (driver) file. To fix this…

  1. Go down to the lowest level – and one of the VIs will say QT_Call_Win or QT_Call_Mac – that diagram has a code interface node – you need to reload the file
  2. Right-click on the node (top) and select “Reload Code Interface From…” and then select the right library (it is in the Image Processing : QTLIB_2595_LV86 : CINWin.lsb or QTLV_x86.lsb)
  3. Save all changes.

Last updated: May 20, 2020

The following two tabs change content below.


The Tufts Center for Engineering Education and Outreach (CEEO) in Boston, Massachusetts, is dedicated to improving engineering education in the classroom, from Kindergarten to college. The Center houses faculty, staff, and graduate students from engineering disciplines and the education department.

Latest posts by CEEO (see all)

One thought on “Image processing in LabVIEW

Comments are closed.