ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
10-27-2011 10:23 PM
So I am creating an application where I take in a U16 grayscale image and a RGB image. I want to be able to overlay the grayscale image on the RGB image and have been trying to figure out the best way to do that. It seems to me my two best options are the IMAQ overlay bitmap VI and IMAQ overlay points VI. Both of these overlays take in a different datatype than the 2D array that I am getting for my grayscale image. Is there an easy way to convert that 2D array for the grayscale image into a 2D array for the bitmap overlay VI or the array of points for the overlay points VI?
I am currently using the IMAQ arrayToImage VI to have a seperate image that shows the grayscale image but would love to be able to overlay it on the RGB image. Also, both the RGB image and grayscale image are the same size so there will be no problem with positioning the pixels correctly.
10-28-2011 11:37 PM
Figured this out, I am able to use the overlay bitmap VI but I found out that if you use IMAQ to do an overlay and then flip the image using the IMAQ symmetry VI that it gets rid of the overlay. I couldn't find that documented anywhere but I fixed it by just merging the overlay onto the image before flipping it.