LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tinting an image display red

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...

0 Kudos
Message 1 of 3
(2,302 Views)

Use a different image (colored red) and overlay it.  You can then simply mess with the transparency settings.

I found a similar example here:

http://zone.ni.com/devzone/cda/epd/p/id/5038

Message 2 of 3
(2,296 Views)

Is the image true RGB or paletted? If it is palletted, you could just rewrite the color table.

0 Kudos
Message 3 of 3
(2,291 Views)