﻿CvInvoke.cvIntegral Method
http://www.emgu.com
Calculates one or more integral images for the source image Using these integral images, one may calculate sum, mean, standard deviation over arbitrary up-right or rotated rectangular region of the image in a constant time. It makes possible to do a fast blurring or fast block correlation with variable window size etc. In case of multi-channel images sums for each channel are accumulated independently.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

# Syntax

C#
```public static void cvIntegral(
IntPtr image,
IntPtr sum,
IntPtr sqsum,
IntPtr tiltedSum
)```
Visual Basic
```Public Shared Sub cvIntegral (
image As IntPtr,
sum As IntPtr,
sqsum As IntPtr,
tiltedSum As IntPtr
)```
Visual C++
```public:
static void cvIntegral(
IntPtr image,
IntPtr sum,
IntPtr sqsum,
IntPtr tiltedSum
)```
F#
```static member cvIntegral :
image : IntPtr *
sum : IntPtr *
sqsum : IntPtr *
tiltedSum : IntPtr -> unit
```

#### Parameters

image
Type: System..::..IntPtr
The source image, WxH, 8-bit or floating-point (32f or 64f) image.
sum
Type: System..::..IntPtr
The integral image, W+1xH+1, 32-bit integer or double precision floating-point (64f).
sqsum
Type: System..::..IntPtr
The integral image for squared pixel values, W+1xH+1, double precision floating-point (64f).
tiltedSum
Type: System..::..IntPtr
The integral for the image rotated by 45 degrees, W+1xH+1, the same data type as sum.