09-14-2008 06:08 AM - edited 09-14-2008 06:10 AM
For my thesis I have to overlay an image, from a certain source , on another one.
Besides I have to allow the user of the software I'm developing to show or hide the overlay as he please.
How can I do that?
Solved! Go to Solution.
09-15-2008 03:39 PM
Lando -
If you're using LabVIEW, you can use IMAQ Overlay Bitmap to overlay an image onto another image. You can read the image you want to overlay and then call IMAQ ColorImageToArray (assuming the image is RGBU32) to get the pixels in a format that IMAQ Overlay Bitmap accepts.
Greg Stoll
Vision R&D
National Instruments
09-26-2008 10:47 AM
Thanks for the advice!
If the image I have to overlay has to be overlaid rotated with respect to the other one, how can I do it?
06-09-2015 10:48 AM
What if the image is not RGBU32? I'm looking to incorporate something similar into my code. What I'm attempting to do is capture an image using imaqdx snap2 vi, save that image to a file, then recall that image to overlay onto a live image later on in the application. Seems to me I would have to convert the saved image to a bitmap then overlay the bitmap onto the live image somehow. Does this sound feasible?
06-19-2015 09:45 AM
hi jj0325,
how about something like this:
I have to admit, I did not write this piece of code on my own. I found this some years ago on the ni.forums, unfortunately I can't find the source-link anymore ....
Regards,
Alex