Counts the abs sum of matrix elements for each channel. Supports all data types.
ocl::countNonZero
ocl::countNonZero
---------------------
---------------------
Returns the number of non-zero elements in src
Returns the number of non-zero elements in src
...
@@ -11,7 +21,7 @@ Returns the number of non-zero elements in src
...
@@ -11,7 +21,7 @@ Returns the number of non-zero elements in src
:param src: Single-channel array
:param src: Single-channel array
Counts non-zero array elements.
Counts non-zero array elements. Supports all data types.
ocl::minMax
ocl::minMax
------------------
------------------
...
@@ -49,32 +59,22 @@ Returns void
...
@@ -49,32 +59,22 @@ Returns void
The functions minMaxLoc find minimum and maximum element values and their positions. The extremums are searched across the whole array, or, if mask is not an empty array, in the specified array region. The functions do not work with multi-channel arrays.
The functions minMaxLoc find minimum and maximum element values and their positions. The extremums are searched across the whole array, or, if mask is not an empty array, in the specified array region. The functions do not work with multi-channel arrays.
ocl::Sum
ocl::sqrSum
------------------
------------------
Returns the sum of matrix elements for each channel
Returns the squared sum of matrix elements for each channel