Computes element-wise absolute difference of array and scalar (c = abs(a - s)). Supports only CV_32FC1 type.

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void Absdiff(
	IntPtr a,
	MCvScalar scalar,
	IntPtr c
)
Public Shared Sub Absdiff ( _
	a As IntPtr, _
	scalar As MCvScalar, _
	c As IntPtr _
)
public:
static void Absdiff(
	IntPtr a, 
	MCvScalar scalar, 
	IntPtr c
)

Parameters

a
IntPtr
A GpuMat
scalar
MCvScalar
A scalar
c
IntPtr
The result of the element-wise absolute difference.

See Also