http://www.emgu.com
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.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void LUT(
IInputArray src,
IInputArray lut,
IOutputArray dst
)
Public Shared Sub LUT (
src As IInputArray,
lut As IInputArray,
dst As IOutputArray
)
public:
static void LUT(
IInputArray^ src,
IInputArray^ lut,
IOutputArray^ dst
)
static member LUT :
src : IInputArray *
lut : IInputArray *
dst : IOutputArray -> unit
Parameters
- src
- Type: Emgu.CVIInputArray
Source array of 8-bit elements - lut
- Type: Emgu.CVIInputArray
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 - dst
- Type: Emgu.CVIOutputArray
Destination array of arbitrary depth and of the same number of channels as the source array
See Also