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.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void Integral(
IInputArray image,
IOutputArray sum,
IOutputArray sqsum = null,
IOutputArray tiltedSum = null,
DepthType sdepth = DepthType.Default,
DepthType sqdepth = DepthType.Default
)
Public Shared Sub Integral (
image As IInputArray,
sum As IOutputArray,
Optional sqsum As IOutputArray = Nothing,
Optional tiltedSum As IOutputArray = Nothing,
Optional sdepth As DepthType = DepthType.Default,
Optional sqdepth As DepthType = DepthType.Default
)
public:
static void Integral(
IInputArray^ image,
IOutputArray^ sum,
IOutputArray^ sqsum = nullptr,
IOutputArray^ tiltedSum = nullptr,
DepthType sdepth = DepthType::Default,
DepthType sqdepth = DepthType::Default
)
static member Integral :
image : IInputArray *
sum : IOutputArray *
?sqsum : IOutputArray *
?tiltedSum : IOutputArray *
?sdepth : DepthType *
?sqdepth : DepthType
(* Defaults:
let _sqsum = defaultArg sqsum null
let _tiltedSum = defaultArg tiltedSum null
let _sdepth = defaultArg sdepth DepthType.Default
let _sqdepth = defaultArg sqdepth DepthType.Default
*)
-> unit
Parameters
- image
- Type: Emgu.CVIInputArray
The source image, WxH, 8-bit or floating-point (32f or 64f) image. - sum
- Type: Emgu.CVIOutputArray
The integral image, W+1xH+1, 32-bit integer or double precision floating-point (64f). - sqsum (Optional)
- Type: Emgu.CVIOutputArray
The integral image for squared pixel values, W+1xH+1, double precision floating-point (64f). - tiltedSum (Optional)
- Type: Emgu.CVIOutputArray
The integral for the image rotated by 45 degrees, W+1xH+1, the same data type as sum. - sdepth (Optional)
- Type: Emgu.CV.CvEnumDepthType
Desired depth of the integral and the tilted integral images, CV_32S, CV_32F, or CV_64F. - sqdepth (Optional)
- Type: Emgu.CV.CvEnumDepthType
Desired depth of the integral image of squared pixel values, CV_32F or CV_64F.
See Also