Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 10/31/2024
Public
Document Table of Contents

FGMMGetBufferSize

Computes the size of the state structure for the Gaussian mixture model foreground/background subtraction.

Syntax

IppStatus ippiFGMMGetBufferSize_8u_C3R(IppiSize roi, int maxNGauss, int* pSpecSize);

Include Files

ippcv.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h, ippi.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib

Parameters

roi
Size of the source image ROI, in pixels.
maxNGauss
Maximal size of the Gaussian mixture components.
pSpecSize
Pointer to the size of the IppFGMMSpec_8u_C3R structure.

Description

This function operates with ROI.

This function computes the size of the IppFGMMSpec_8u_C3R structure for the FGMMForeground and FGMMBackground functions.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when pSpecSize is NULL.

ippStsSizeErr

Indicates an error when roi is less than, or equal to zero.

ippStsBadArgErr

Indicates an error when maxNumGauss is less than, or equal to zero.

See Also