[−][src]Function opencv::core::sum_elems
pub fn sum_elems(src: &dyn ToInputArray) -> Result<Scalar>
Calculates the sum of array elements.
The function cv::sum calculates and returns the sum of array elements, independently for each channel.
Parameters
- src: input array that must have from 1 to 4 channels.
See also
countNonZero, mean, meanStdDev, norm, minMaxLoc, reduce