Developer Reference for Intel® Integrated Performance Primitives
Performs the Gaussian mixture model foreground subtraction.
IppStatus ippiFGMMForeground_8u_C3R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roi, IppFGMMState_8u_C3R* pState, IppFGMModel* pModel, double learning_rate);
ippcv.h
Headers: ippcore.h, ippvm.h, ipps.h, ippi.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib
This function operates with ROI.
This function implements the Gaussian mixture model foreground subtraction described in [ZIVKOVIC04]. The foreground mask is stored in pDst.
Before using this function, you need to compute the size of the IppFGMMState_8u_C3R state structure and initialize the structure using the FGMMGetBufferSize and FGMMInit functions, respectively.
For an example on how to use this function, refer to the example provided with the FGMMBackground function description.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pSrc, pDst, pModel, or pState is NULL. |
ippStsSizeErr |
Indicates an error when roi is less than, or equal to zero. |
ippStsStepErr |
Indicates an error when srcStep or dstStep is less than, or equal to zero. |