• Home
  • Raw
  • Download

Lines Matching refs:nmixtures

135         nmixtures = defaultNMixtures2;  in BackgroundSubtractorMOG2Impl()
160 nmixtures = defaultNMixtures2; in BackgroundSubtractorMOG2Impl()
191 CV_Assert( nmixtures <= 255); in initialize()
196 …_kernel", ocl::video::bgfg_mog2_oclsrc, format( "-D CN=%d -D NMIXTURES=%d", nchannels, nmixtures)); in initialize()
205 u_weight.create(frameSize.height * nmixtures, frameSize.width, CV_32FC1); in initialize()
208 u_variance.create(frameSize.height * nmixtures, frameSize.width, CV_32FC1); in initialize()
213 … u_mean.create(frameSize.height * nmixtures, frameSize.width, CV_32FC(nchannels)); //4 channels in initialize()
226 bgmodel.create( 1, frameSize.height*frameSize.width*nmixtures*(2 + nchannels), CV_32F ); in initialize()
236 virtual int getNMixtures() const { return nmixtures; } in getNMixtures()
237 virtual void setNMixtures(int nmix) { nmixtures = nmix; } in setNMixtures()
283 << "nmixtures" << nmixtures in write()
300 nmixtures = (int)fn["nmixtures"]; in read()
333 int nmixtures; member in cv::BackgroundSubtractorMOG2Impl
538 nmixtures = _nmixtures; in MOG2Invoker()
568 float* mean = mean0 + ncols*nmixtures*nchannels*y; in operator ()()
569 GMM* gmm = gmm0 + ncols*nmixtures*y; in operator ()()
573 … for( int x = 0; x < ncols; x++, data += nchannels, gmm += nmixtures, mean += nmixtures*nchannels ) in operator ()()
693 int mode = nmodes == nmixtures ? nmixtures-1 : nmodes++; in operator ()()
742 int nmixtures; member in cv::MOG2Invoker
818 …String opts = format("-D CN=%d -D NMIXTURES=%d%s", nchannels, nmixtures, bShadowDetection ? " -D S… in create_ocl_apply_kernel()
848 (float*)(bgmodel.ptr() + sizeof(GMM)*nmixtures*image.rows*image.cols), in apply()
849 bgmodelUsedModes.ptr(), nmixtures, (float)learningRate, in apply()
872 …nst float* mean = reinterpret_cast<const float*>(gmm + frameSize.width*frameSize.height*nmixtures); in getBackgroundImage()
906 firstGaussianIdx += nmixtures; in getBackgroundImage()