Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you change grayscale palette to add "color" under CVI?

When using IMAQ Vision builder 5.0 I noticed that you could adjust the palette to Temperature, Rainbow, Gradient, etc. to add artificial "color" to grayscale images. Is there a way to do the same type of thing under Labwindows/CVI with the IMAQ library? A sample would be nice.
0 Kudos
Message 1 of 2
(3,317 Views)
Hi Hamburger,

Yes, you can definitely do this in CVI with the IMAQ Vision library. The function you are looking for is imaqSetWindowPalette

This function is pretty straight forward. Just specify the window number and the palette you want to associate to the window.

Hope this helps.

Ken Sun
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,318 Views)