Method LUT
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
LUT(InputArray, InputArray, OutputArray)
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
public static void LUT(InputArray src, InputArray lut, OutputArray dst)
Parameters
srcInputArraySource array of 8-bit elements
lutInputArrayLook-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
dstOutputArrayDestination array; will have the same size and the same number of channels as src, and the same depth as lut
LUT(InputArray, byte[], OutputArray)
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
public static void LUT(InputArray src, byte[] lut, OutputArray dst)
Parameters
srcInputArraySource array of 8-bit elements
lutbyte[]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
dstOutputArrayDestination array; will have the same size and the same number of channels as src, and the same depth as lut