Computes norm of the difference between two arrays

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 double Norm(
	IntPtr src1,
	IntPtr src2,
	NORM_TYPE normType
)
Public Shared Function Norm ( _
	src1 As IntPtr, _
	src2 As IntPtr, _
	normType As NORM_TYPE _
) As Double
public:
static double Norm(
	IntPtr src1, 
	IntPtr src2, 
	NORM_TYPE normType
)

Parameters

src1
IntPtr
The GpuMat. Supports only CV_8UC1 type
src2
IntPtr
If IntPtr.Zero, norm operation is apply to src1 only. Otherwise, this is the GpuMat of type CV_8UC1
normType
NORM_TYPE
The norm type. Supports NORM_INF, NORM_L1, NORM_L2.

Return Value

The norm of the src1 if src2 is IntPtr.Zero. Otherwise the norm of the difference between two arrays.

See Also