Cv2LUT Method (InputArray, Byte, OutputArray, Int32) OpenCvSharp Class Library
transforms array of numbers using a lookup table: dst(i)=lut(src(i))

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void LUT(
	InputArray src,
	byte[] lut,
	OutputArray dst,
	int interpolation = 0
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray
Source array of 8-bit elements
lut
Type: SystemByte
Look-up table of 256 elements. In the case of multi-channel source array, the table should either have a single channel (in this case the same table is used for all channels) or the same number of channels as in the source array
dst
Type: OpenCvSharp.CPlusPlusOutputArray
Destination array; will have the same size and the same number of channels as src, and the same depth as lut
interpolation (Optional)
Type: SystemInt32

[Missing <param name="interpolation"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.LUT(OpenCvSharp.CPlusPlus.InputArray,System.Byte[],OpenCvSharp.CPlusPlus.OutputArray,System.Int32)"]

See Also

Reference