Click or drag to resize

Cv2Integral Method (InputArray, OutputArray, OutputArray, OutputArray, Int32, Int32)

Calculates the integral of an image. The function calculates one or more integral images for the source image.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void Integral(
	InputArray src,
	OutputArray sum,
	OutputArray sqsum,
	OutputArray tilted,
	int sdepth = -1,
	int sqdepth = -1
)

Parameters

src
Type: OpenCvSharpInputArray
input image as W×H, 8-bit or floating-point (32f or 64f).
sum
Type: OpenCvSharpOutputArray
integral image as (W+1)×(H+1) , 32-bit integer or floating-point (32f or 64f).
sqsum
Type: OpenCvSharpOutputArray
integral image for squared pixel values; it is (W+1)×(H+1), double-precision floating-point (64f) array.
tilted
Type: OpenCvSharpOutputArray
integral for the image rotated by 45 degrees; it is (W+1)×(H+1) array with the same data type as sum.
sdepth (Optional)
Type: SystemInt32
desired depth of the integral and the tilted integral images, CV_32S, CV_32F, or CV_64F.
sqdepth (Optional)
Type: SystemInt32
desired depth of the integral image of squared pixel values, CV_32F or CV_64F.
See Also