Developer Reference for Intel® Integrated Performance Primitives
Initializes the state structure for the Gaussian mixture model foreground/background subtraction.
IppStatus ippiFGMMInit_8u_C3R(IppiSize roi, int maxNGauss, IppFGMModel* pModel, IppFGMMState_8u_C3R* pState);
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 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.
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. |