Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

FGMMInit

Initializes the state structure for the Gaussian mixture model foreground/background subtraction.

Syntax

IppStatus ippiFGMMInit_8u_C3R(IppiSize
roi
, int
maxNGauss
, IppFGMModel*
pModel
, IppFGMMState_8u_C3R*
pState
);
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.
pModel
Pointer to the
IppFGMModel
structure containing parameters for the model. If
pModel
is
NULL
, the default parameters are applied.
pState
Pointer to the
IppFGMMState_8u_C3R
state structure.
Description
This function operates with ROI.
This function initializes the
IppFGMMState_8u_C3R
state structure for the
FGMMForeground
and
FGMMBackground
functions.
Before using this function, you need to compute the size of the state structure using the
FGMMGetBufferSize
function.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when
pModel
or
pState
is
NULL
.
ippStsSizeErr
Indicates an error when
roi
is less than, or equal to zero.
ippStsBadArgErr
Indicates an error when
maxNGauss
is less than, or equal to zero.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804