| Cv2LUT Method (InputArray, InputArray, OutputArray) |
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void LUT(
InputArray src,
InputArray lut,
OutputArray dst
)
Public Shared Sub LUT (
src As InputArray,
lut As InputArray,
dst As OutputArray
)
public:
static void LUT(
InputArray^ src,
InputArray^ lut,
OutputArray^ dst
)
static member LUT :
src : InputArray *
lut : InputArray *
dst : OutputArray -> unit
Parameters
- src
- Type: OpenCvSharpInputArray
Source array of 8-bit elements - 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 - dst
- Type: OpenCvSharpOutputArray
Destination array;
will have the same size and the same number of channels as src,
and the same depth as lut
See Also