http://www.emgu.com
Convert the color pallette to four lookup tables

Namespace: Emgu.CV.Util
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void ColorPaletteToLookupTable(
	ColorPalette pallette,
	out Matrix<byte> bTable,
	out Matrix<byte> gTable,
	out Matrix<byte> rTable,
	out Matrix<byte> aTable
)
Visual Basic
Public Shared Sub ColorPaletteToLookupTable ( 
	pallette As ColorPalette,
	<OutAttribute> ByRef bTable As Matrix(Of Byte),
	<OutAttribute> ByRef gTable As Matrix(Of Byte),
	<OutAttribute> ByRef rTable As Matrix(Of Byte),
	<OutAttribute> ByRef aTable As Matrix(Of Byte)
)
Visual C++
public:
static void ColorPaletteToLookupTable(
	ColorPalette^ pallette, 
	[OutAttribute] Matrix<unsigned char>^% bTable, 
	[OutAttribute] Matrix<unsigned char>^% gTable, 
	[OutAttribute] Matrix<unsigned char>^% rTable, 
	[OutAttribute] Matrix<unsigned char>^% aTable
)
F#
static member ColorPaletteToLookupTable : 
        pallette : ColorPalette * 
        bTable : Matrix<byte> byref * 
        gTable : Matrix<byte> byref * 
        rTable : Matrix<byte> byref * 
        aTable : Matrix<byte> byref -> unit 

Parameters

pallette
Type: System.Drawing.Imaging..::..ColorPalette
The color pallette to transform
bTable
Type: Emgu.CV..::..Matrix<(Of <(<'Byte>)>)>%
Lookup table for the B channel
gTable
Type: Emgu.CV..::..Matrix<(Of <(<'Byte>)>)>%
Lookup table for the G channel
rTable
Type: Emgu.CV..::..Matrix<(Of <(<'Byte>)>)>%
Lookup table for the R channel
aTable
Type: Emgu.CV..::..Matrix<(Of <(<'Byte>)>)>%
Lookup table for the A channel

See Also