CvInvokeNorm Method (IInputArray, 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,
NormType normType = NormType.L2,
IInputArray mask = null
)
Public Shared Function Norm (
arr1 As IInputArray,
Optional normType As NormType = NormType.L2,
Optional mask As IInputArray = Nothing
) As Double
public:
static double Norm(
IInputArray^ arr1,
NormType normType = NormType::L2,
IInputArray^ mask = nullptr
)
static member Norm :
arr1 : IInputArray *
?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 - 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