CvInvokeConvertScaleAbs Method |
http://www.emgu.com
Similar to cvCvtScale but it stores absolute values of the conversion results:
dst(I)=abs(src(I)*scale + (shift,shift,...))
The function supports only destination arrays of 8u (8-bit unsigned integers) type, for other types the function can be emulated by combination of cvConvertScale and cvAbs functions.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void ConvertScaleAbs(
IInputArray src,
IOutputArray dst,
double scale,
double shift
)
Public Shared Sub ConvertScaleAbs (
src As IInputArray,
dst As IOutputArray,
scale As Double,
shift As Double
)
public:
static void ConvertScaleAbs(
IInputArray^ src,
IOutputArray^ dst,
double scale,
double shift
)
static member ConvertScaleAbs :
src : IInputArray *
dst : IOutputArray *
scale : float *
shift : float -> unit
Parameters
- src
- Type: Emgu.CVIInputArray
Source array - dst
- Type: Emgu.CVIOutputArray
Destination array (should have 8u depth). - scale
- Type: SystemDouble
ScaleAbs factor - shift
- Type: SystemDouble
Value added to the scaled source array elements
See Also