Converts an array to another data type with optional scaling.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- m
- Type: OpenCvSharp.CPlusPlusMat
output matrix; if it does not have a proper size or type before the operation, it is reallocated. - rtype
- Type: OpenCvSharp.CPlusPlusMatType
desired output matrix type or, rather, the depth since the number of channels are the same as the input has; if rtype is negative, the output matrix will have the same type as the input. - alpha (Optional)
- Type: SystemDouble
optional scale factor. - beta (Optional)
- Type: SystemDouble
optional delta added to the scaled values.
See Also