Fills the destination array with values from the look-up table. Indices of the entries are taken from the source array. That is, the function processes each element of src as following:
dst(I)=lut[src(I)+DELTA]
where DELTA=0 if src has depth CV_8U, and DELTA=128 if src has depth CV_8S
Namespace:
Emgu.CV
Assembly:
Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Sub cvLUT ( _
src As IntPtr, _
dst As IntPtr, _
lut As IntPtr _
) |
Parameters
- src
- Type: System..::.IntPtr
Source array of 8-bit elements
- dst
- Type: System..::.IntPtr
Destination array of arbitrary depth and of the same number of channels as the source array
- lut
- Type: System..::.IntPtr
Look-up table of 256 elements; should have the same depth as the destination array. In case of multi-channel source and destination arrays, 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 the source/destination array
See Also