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 (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static MCvScalar cvSum(
	IntPtr arr
)
Visual Basic
Public Shared Function cvSum ( 
	arr As IntPtr
) As MCvScalar
Visual C++
public:
static MCvScalar cvSum(
	IntPtr arr
)
F#
static member cvSum : 
        arr : IntPtr -> MCvScalar 

Parameters

arr
Type: System..::..IntPtr
The array

Return Value

Type: MCvScalar
The sum of arary elements

See Also