Click or drag to resize

MatLUT Method (InputArray, Int32)

transforms array of numbers using a lookup table: dst(i)=lut(src(i))

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public Mat LUT(
	InputArray lut,
	int interpolation = 0
)

Parameters

lut
Type: OpenCvSharpInputArray
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
interpolation (Optional)
Type: SystemInt32

Return Value

Type: Mat
See Also