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.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvLUT(
	IntPtr src,
	IntPtr dst,
	IntPtr lut
)
Public Shared Sub cvLUT ( _
	src As IntPtr, _
	dst As IntPtr, _
	lut As IntPtr _
)
public:
static void cvLUT(
	IntPtr src, 
	IntPtr dst, 
	IntPtr lut
)

Parameters

src
IntPtr
Source array of 8-bit elements
dst
IntPtr
Destination array of arbitrary depth and of the same number of channels as the source array
lut
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