| 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
)
Public Shared Sub Integral (
src As InputArray,
sum As OutputArray,
sqsum As OutputArray,
tilted As OutputArray,
Optional sdepth As Integer = -1,
Optional sqdepth As Integer = -1
)
public:
static void Integral(
InputArray^ src,
OutputArray^ sum,
OutputArray^ sqsum,
OutputArray^ tilted,
int sdepth = -1,
int sqdepth = -1
)
static member Integral :
src : InputArray *
sum : OutputArray *
sqsum : OutputArray *
tilted : OutputArray *
?sdepth : int *
?sqdepth : int
(* Defaults:
let _sdepth = defaultArg sdepth -1
let _sqdepth = defaultArg sqdepth -1
*)
-> unit
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