Convert the color pallette to four lookup tables

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void ColorPaletteToLookupTable(
	ColorPalette pallette,
	out Matrix<byte> bTable,
	out Matrix<byte> gTable,
	out Matrix<byte> rTable,
	out Matrix<byte> aTable
)
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) _
)
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
)

Parameters

pallette
ColorPalette
The color pallette to transform
bTable
Matrix<(Of <(Byte>)>) %
Lookup table for the B channel
gTable
Matrix<(Of <(Byte>)>) %
Lookup table for the G channel
rTable
Matrix<(Of <(Byte>)>) %
Lookup table for the R channel
aTable
Matrix<(Of <(Byte>)>) %
Lookup table for the A channel

See Also