LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert RGB image to 8 bit with colour reduction

Is there an easy way of converting a 24 bit RGB image to an 8 bit image so that it can be displayed in an intensity graph with an appropriate colour table?
0 Kudos
Message 1 of 3
(2,941 Views)
If you can provide an appropriate color table, convert from 24 to 8 is easy.
See Image Toolbox (http://www.geocities.com/gzou999/imgtool.htm).

Otherwise, you have to go through every pixel to find 256 mostly used colors
to be used as new color table.

George Zou
http://gtoolbox.yeah.net
George Zou
0 Kudos
Message 2 of 3
(2,934 Views)
IMAQ will do this conversion for you, but you need to buy it. Another alternative is calling Image Magick using the System Exec.vi. You can get Image Magick at http://www.imagemagick.org/.
0 Kudos
Message 3 of 3
(2,911 Views)