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).
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:
- Download the library: ImageProcessing (ZIP).
- Unzip the library.
- 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).
- Open LabVIEW.
- Make sure to save all changes when it recompiles the library for your operating system.
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…
- 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
- 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)
- Save all changes.