MatLUT Method (InputArray, Int32)
|
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic Mat LUT(
InputArray lut,
int interpolation = 0
)
Public Function LUT (
lut As InputArray,
Optional interpolation As Integer = 0
) As Mat
public:
Mat^ LUT(
InputArray^ lut,
int interpolation = 0
)
member LUT :
lut : InputArray *
?interpolation : int
(* Defaults:
let _interpolation = defaultArg interpolation 0
*)
-> Mat
function LUT(lut, interpolation);
Parameters
- 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 - interpolation (Optional)
- Type: SystemInt32
Return Value
Type:
Mat
See Also