Click or drag to resize
CvInvokeSum Method
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: (
public static MCvScalar Sum(
	IInputArray src


Type: Emgu.CVIInputArray
The array

Return Value

Type: MCvScalar
The sum of array elements
See Also