What method used in OpenCV to get initial mean and covariance in command cv2.BackgroundSubtractorMOG
Hi, I want to know what method using for get initial mean and covariance in command cv2.BackgroundSubtractorMOG.. I'm read the c++ program from here but I don't see how they get initial mean and covariance for each Gaussian distribution, and what this command bgmodel.create( 1, frameSize.height * frameSize.width * nmixtures * (2 + 2 * nchannels), CV_32F ); used for? And in KaewTraKulPong Bowden paper "An Improved Adaptive Background Mixture Model for Real-time Tracking with Shadow Detection" they have equation for L recent window, I didn't find code for update equation using L recent window, did the dev used it?
create should contain the initialization... And it is used for initialization
But how? Can you explain to me?
bgmodel
seems to be acv::Mat
, so see the create function docs The "global" variables are in background_segm.hpp, maybe this doc will also helpthanks for the info, I'll read it..