LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Apply Lookup tables to Intensity Graphs or Picture Controls?

I know in IMAQ Vision toolkit there are several VIs that allow direct application of a lookup table (such as changing brightness, contrast, gamma) to an Image control. I wanted to know if there was some basic way to also do this for a LabVIEW intensity graph and picture control. In the past I have effectively done contrast expansions on 8-bit intensity graphs by deleting extreme high and low data and renormalizing the new data range to between 0 and 255. So what I am currently doing is working directly on the data rather than remapping values based on a lookup table. Currently, only a 'color table' property node is available for the intensity graph. Any thoughts on this?

Thanks,

Don
0 Kudos
Message 1 of 2
(2,712 Views)
Hi Don,

IMAQ Vision does give a lot of options to use lookup tables to affect several different properties of the images. Unfortunately, the less-specialized intensity graph in LabVIEW does not currently have any way to use lookup tables to alter the brightness or contrast. The only thing that can easily be changed in this manner is the color, through the Color Table property node which you mentioned. There is a shipping example entitled Create IntGraph Color Table which details this process. It looks like the contrast expansion directly on the data which you have done before may be the best solution currently.

John M.
National Instruments
0 Kudos
Message 2 of 2
(2,712 Views)