CudaInvokeNorm Method (IInputArray, IInputArray, NormType) |
http://www.emgu.com
Computes norm of the difference between two GpuMats
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static double Norm(
IInputArray src1,
IInputArray src2,
NormType normType = NormType.L2
)
Public Shared Function Norm (
src1 As IInputArray,
src2 As IInputArray,
Optional normType As NormType = NormType.L2
) As Double
public:
static double Norm(
IInputArray^ src1,
IInputArray^ src2,
NormType normType = NormType::L2
)
static member Norm :
src1 : IInputArray *
src2 : IInputArray *
?normType : NormType
(* Defaults:
let _normType = defaultArg normType NormType.L2
*)
-> float
Parameters
- src1
- Type: Emgu.CVIInputArray
The GpuMat. Supports only CV_8UC1 type - src2
- Type: Emgu.CVIInputArray
If IntPtr.Zero, norm operation is apply to src1 only. Otherwise, this is the GpuMat of type CV_8UC1 - normType (Optional)
- Type: Emgu.CV.CvEnumNormType
The norm type. Supports NORM_INF, NORM_L1, NORM_L2.
Return Value
Type:
DoubleThe norm of the
src1 if
src2 is IntPtr.Zero. Otherwise the norm of the difference between two GpuMats.
See Also