12-28-2005 06:53 AM
12-29-2005 11:00 AM
Mic_Scale,
Attached is a simple VI which will convert your overlay 2D 16bit Array into a 1D array of points which can be fed into the "IMAQ Overlay Points.vi". The IMAQ Overlay VI will convert the 1D array of points to an overlay of whatever color you choose.
The attached VI takes your 2D array. Compares each element in the array to 0 and adds an element to the new 1D array each time the element in the 2D array is greater than 0.
Before you can use the "IMAQ Overlay Points.vi" you will need to convert you black and white image to an IMAQ Image by using the "IMAQ ArraytoImage.vi".
All of this should accomplish the task you want.
Good Luck,
Lorne Hengst
Application Engineer
National Instruments