LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set up the color palette for 256 gray levels picture?

Hello,
I use picture function called "Draw 8-bit Pixmap" and the input picture is in 256 gray levels format (1 byte = 1 pixel). I want to change a default color palette since the picture is displayed with strange colors. I wanted to do a gray colors palette and did 256 elements array within a loop where every element had a value of i+i*256+i*256*256 (RGB). I thought it would be a good palette but it displayed me dark square instead of picture. Where can I find information about how to create own palettes?
0 Kudos
Message 1 of 2
(2,549 Views)
OK it works!!! I had simply very dark picture so it was practically impossible to see details in normal palette. In default labview palette I saw some details since this palette made contrast colors for picture.
0 Kudos
Message 2 of 2
(2,549 Views)