CvInvokeNorm Method (IInputArray, IInputOutputArray, NormType, IInputArray) |
http://www.emgu.com
Returns the calculated norm. The multiple-channel array are treated as single-channel, that is, the results for all channels are combined.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static double Norm(
IInputArray arr1,
IInputOutputArray arr2,
NormType normType = NormType.L2,
IInputArray mask = null
)
Public Shared Function Norm (
arr1 As IInputArray,
arr2 As IInputOutputArray,
Optional normType As NormType = NormType.L2,
Optional mask As IInputArray = Nothing
) As Double
public:
static double Norm(
IInputArray^ arr1,
IInputOutputArray^ arr2,
NormType normType = NormType::L2,
IInputArray^ mask = nullptr
)
static member Norm :
arr1 : IInputArray *
arr2 : IInputOutputArray *
?normType : NormType *
?mask : IInputArray
(* Defaults:
let _normType = defaultArg normType NormType.L2
let _mask = defaultArg mask null
*)
-> float
Parameters
- arr1
- Type: Emgu.CVIInputArray
The first source image - arr2
- Type: Emgu.CVIInputOutputArray
The second source image. If it is null, the absolute norm of arr1 is calculated, otherwise absolute or relative norm of arr1-arr2 is calculated - normType (Optional)
- Type: Emgu.CV.CvEnumNormType
Type of norm - mask (Optional)
- Type: Emgu.CVIInputArray
The optional operation mask
Return Value
Type:
DoubleThe calculated norm
See Also