http://www.emgu.com
Calculates sum S of array elements, independently for each channel
Sc = sumI arr(I)c
If the array is IplImage and COI is set, the function processes the selected channel only and stores the sum to the first scalar component (S0).
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static MCvScalar Sum(
IInputArray src
)
Public Shared Function Sum (
src As IInputArray
) As MCvScalar
public:
static MCvScalar Sum(
IInputArray^ src
)
static member Sum :
src : IInputArray -> MCvScalar
Parameters
- src
- Type: Emgu.CVIInputArray
The array
Return Value
Type:
MCvScalarThe sum of array elements
See Also