nframes_ 110 modules/cudabgsegm/src/mog.cpp int nframes_; nframes_ 145 modules/cudabgsegm/src/mog.cpp if (nframes_ == 0 || learningRate >= 1.0 || frame.size() != frameSize_ || work_ch != mean_.channels()) nframes_ 151 modules/cudabgsegm/src/mog.cpp ++nframes_; nframes_ 152 modules/cudabgsegm/src/mog.cpp learningRate = learningRate >= 0 && nframes_ > 1 ? learningRate : 1.0 / std::min(nframes_, history_); nframes_ 200 modules/cudabgsegm/src/mog.cpp nframes_ = 0; nframes_ 146 modules/cudabgsegm/src/mog2.cpp int nframes_; nframes_ 188 modules/cudabgsegm/src/mog2.cpp if (nframes_ == 0 || learningRate >= 1.0 || frame.size() != frameSize_ || work_ch != mean_.channels()) nframes_ 196 modules/cudabgsegm/src/mog2.cpp ++nframes_; nframes_ 197 modules/cudabgsegm/src/mog2.cpp learningRate = learningRate >= 0 && nframes_ > 1 ? learningRate : 1.0 / std::min(2 * nframes_, history_); nframes_ 227 modules/cudabgsegm/src/mog2.cpp nframes_ = 0;