CvToolboxColorPaletteToLookupTable Method |
http://www.emgu.com
Convert the color palette to four lookup tables
Namespace:
Emgu.CV.Util
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic static void ColorPaletteToLookupTable(
ColorPalette palette,
out Matrix<byte> bTable,
out Matrix<byte> gTable,
out Matrix<byte> rTable,
out Matrix<byte> aTable
)
Public Shared Sub ColorPaletteToLookupTable (
palette 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^ palette,
[OutAttribute] Matrix<unsigned char>^% bTable,
[OutAttribute] Matrix<unsigned char>^% gTable,
[OutAttribute] Matrix<unsigned char>^% rTable,
[OutAttribute] Matrix<unsigned char>^% aTable
)
static member ColorPaletteToLookupTable :
palette : ColorPalette *
bTable : Matrix<byte> byref *
gTable : Matrix<byte> byref *
rTable : Matrix<byte> byref *
aTable : Matrix<byte> byref -> unit
Parameters
- palette
- Type: System.Drawing.ImagingColorPalette
The color palette to transform - bTable
- Type: Emgu.CVMatrixByte
Lookup table for the B channel - gTable
- Type: Emgu.CVMatrixByte
Lookup table for the G channel - rTable
- Type: Emgu.CVMatrixByte
Lookup table for the R channel - aTable
- Type: Emgu.CVMatrixByte
Lookup table for the A channel
See Also