LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

transparent image/graph

I've been reading a number of posts, but yet to find a clear answer to my problem.
 
My ultimate goal is to have an image and a graph, one overlayed on top of the other (whether it is a transparent picture on a graph, or vice versa, it doesn't matter).  I just want to have both images roughly 50% transparent.  Imagine a gps image with a topography intensity map laid over the top... that's what I'm going for.
 
From my experience so far, I've found that the transparency levels of the  3D controllers are unchangeable.  Although the transparency levels of the intensity & (x,y) graph shells are changeable, I haven't been able to change the transparency of the graph that it projects.  On the other hand, I've been able to make an image compltetely transparent, but not partially.  I realize that I might be able to import a partially transparent image into LabVIEW and work from their, but the program that I'm making now, will only deal with unaltered images (aka, not pre-transparent images).
 
If anyone has any ideas, that'd be great.
0 Kudos
Message 1 of 4
(3,394 Views)
One way is to use the "get control image" invoke node and then combine the two arrays to make one image. I have attached a little program that does just that. This one is very slow so it might not be the ideal solution.
0 Kudos
Message 2 of 4
(3,379 Views)
Thanks for the quick and complete response.  I think I understand what you're trying to do, but unfortunately I'm not getting the program to function properly.  The image that is generated is a blank.  One of the things I wasn't sure of, was the slider.  Is that just supposed to change the color intensity of the image?  Another question... which might be a very obvious one, but where is the 'new picture' function?  I've been looking through the function menu and have been unable to locate it.
 
Hopefully I can try and figure the rest of this program out.  I attached a sample program that i found in the forums that is helping me get a little closer (this one puts an image behind/in front/ or in between a graph).  I'm still not convinced that this program will work with an intensity graph, but I'm going to give it a try.
 
Thanks again.
0 Kudos
Message 3 of 4
(3,375 Views)
Okay, I gave the program another try, and I got it to work.  I see what you mean about the processing time.  I'm not having much success getting it to run consistently, but it does do the job.  The vi that I attached above is something more along the line of what I want my program to achieve.  Thanks again for the input.
0 Kudos
Message 4 of 4
(3,346 Views)