pub fn integral(
src: &GMat,
sdepth: i32,
sqdepth: i32
) -> Result<Tuple<(GMat, GMat)>>
Expand description
Calculates the integral of an image.
The function calculates one or more integral images for the source image as follows:
The function return integral image as , 32-bit integer or floating-point (32f or 64f) and
integral image for squared pixel values; it is
, double-precision floating-point (64f) array.
Note: Function textual ID is “org.opencv.core.matrixop.integral”
Parameters
- src: input image.
- sdepth: desired depth of the integral and the tilted integral images, CV_32S, CV_32F, or CV_64F.
- sqdepth: desired depth of the integral image of squared pixel values, CV_32F or CV_64F.
C++ default parameters
- sdepth: -1
- sqdepth: -1