Image processing in LabVIEW

b

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

Installation

NOTE: If you have installed ROBOLAB for LabVIEW, you do not need to install this – it is already installed and in your Add-ons palette.

To install the Image Processing vis, follow the following steps:

  1. Download the library: ImageProcessing (ZIP).
  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.
a1

The palette

c

A simple TV

d

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.

Related posts

Comments

Add a comment

You must be logged in to comment.

  1. Image processing in LabVIEW | LEGOengineering |...08-27-13