03-23-2014 10:35 AM
Hi guys,
I'm new to using overlay functions and I'm not sure how to do what I'm trying, so wanted to ask for some help/advice.
I have a feed coming in from a Kinect sensor, and I want to overlay a small image over the top. The image I want to overlay is small and so I only want it to cover part of the camera feed. It also has some transparency on the smaller image, which I would like to have in my overlay.
I have been looking at the overlay VIs, and found one called IMAQ Overlay bitmap - but I think that a bitmap would not have transparency so I would end up with a white square background on the image I'm trying to overlay on my camera feed.
Is there an easy way to do what I need?
Thanks in advance,
Lou
Solved! Go to Solution.
03-23-2014 11:12 AM
@vascibean wrote:
I have been looking at the overlay VIs, and found one called IMAQ Overlay bitmap - but I think that a bitmap would not have transparency so I would end up with a white square background on the image I'm trying to overlay on my camera feed.
Yes, you can use transparency:
Result:
Andrey.
03-25-2014 02:32 PM
Hi there,
I've been trying to copy what you've got here but I'm still having a few problems.
Below I have attached an example of one of the images I want to import with transparency. However, when I put that image though the IMAQ VI's it comes out looking something like this.
This is obviously making it come out wrong when I try and merge the images.
Any suggestions that could fix the problem?
I've attached the VI I've been using to try and get it working,
Lou
03-26-2014 03:15 AM - last edited on 06-03-2020 01:26 PM by Kristi_Martinez
@vascibean wrote:
I want to import with transparency.
The following kb should be helpful for you:
Community Admin Note: The article link has been removed due to invalid information.
Andrey.
03-26-2014 12:08 PM
Brilliant thank you!
That second link was really useful - I managed to get my image overlaying properly and I can not get started with getting my images on the camera feed.
The first was also useful, I think I might experiment and see what they look like as .gifs as that might suit my needs better.
Thanks again!