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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
| C# |
|---|
public static MCvScalar cvSum( IntPtr arr ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function cvSum ( _ arr As IntPtr _ ) As MCvScalar |
| Visual C++ |
|---|
public: static MCvScalar cvSum( IntPtr arr ) |
Parameters
- arr
- Type: System..::.IntPtr
The array