07-30-2013 01:28 PM - edited 07-30-2013 01:32 PM
Hello!
I'm taking in video from a webcam and displaying it in labview, and I'm looking for a way to tint the screen red. Sounds simple, but I am curious if there's any way I can do it that doesn't require me to programatically change the RGB values. I had been doing it before by setting G=0 and B=0 in an RGB image, and while that works fine... I have to do a bunch of other processing real-time as well, and the whole separating of RGB into 3 arrays and re-merging them isn't fast enough on my machine to be practical. And obviously another way is to change all of the hues in an RGB--> HSV variable to red, but again, my machine isn't fast enough to do it at 30 fps.
So yeah. Any ideas?
Thanks in advance.
EDIT: So could I just use a different color palette in my image display? I just have no idea how to change that...
07-30-2013 02:01 PM
Use a different image (colored red) and overlay it. You can then simply mess with the transparency settings.
I found a similar example here:
07-30-2013 02:25 PM
Is the image true RGB or paletted? If it is palletted, you could just rewrite the color table.