LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image color legend

Solved!
Go to solution

Hello

 

I have image with custom pallete:

 

 ScreenShot037.jpg

 

I want to create legend that value 1represented by red 2 by blue and so on like in graphs or charts.

Any ideas??

 

0 Kudos
Message 1 of 4
(2,334 Views)

Hi!

 

 There is no inbuilt function thad does this, so you'll have to create a custom control to display the required information.  I've made a little example VI that does this, I hope I understood your goal correctly. In the example, I assumed that your color palette information is stored in an array of RGB values, and that you want cusom (preset) names for the channels. 

 

Kind regards:

 

Andrew Valko

National Instruments

 

 

Andrew Valko
National Instruments Hungary
0 Kudos
Message 2 of 4
(2,305 Views)

Can You save this as 2011 version??

0 Kudos
Message 3 of 4
(2,303 Views)
Solution
Accepted by topic author pawhan11

Sure thing, here you go.

 

Andrew Valko
National Instruments Hungary
0 Kudos
Message 4 of 4
(2,301 Views)