Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ: How to create the intensity palette(z-scale) of image?

I want to use IMAQ to display an image. I would want view the palette of intensity (z-scale) but I’m not able to do it. Is possible to activate some properties of IMAQ for this? Alternately which is the way to create and customize a new intensity palette (z-scale) with labels and ticks? I need a palette of intensity (z-scale) in the same way of the intensity graph. Any peole has the similar experience to do this? Thanks a lot in advance! Simone Saracini
0 Kudos
Message 1 of 5
(4,335 Views)
Hi,

Isn't what you ask just a histogram ?
Those functions are in IMAQ.

Regards
0 Kudos
Message 2 of 5
(4,327 Views)
I am pretty sure I asked about this awhile back. The Vision control does not have a z-scale (color) palette (unlike the intensity graph which does). So you have to roll your own. If you see the attached VI, it shows an array that simulates a color bar. You would have to take your specific color palette from the Vision control and get it in array format and feed it into the array simulating the color bar. I included a VI that should allow you to do this. I have a horizontal version. You might want to make a vertical version and repost.

I would expect that future versions of the vision control should have a color ramp associated with them just as does the intensity graph.

Sincerely,

Don
0 Kudos
Message 3 of 5
(4,317 Views)
Hi DonRoth, thank you very much for your help but I can’t open correctly the “roll_your_own_color_ramp.vi” why is not present the Sub-vi “color_table_translater.vi”… Can you send kindly again? Thanks a lot in advance! Simone Saracini
0 Kudos
Message 4 of 5
(4,305 Views)
Sorry about that.....here is color table translater.vi (Vision 7.1 / LabVIEW 7.1)....Don
0 Kudos
Message 5 of 5
(4,296 Views)