MOG2 background substraction : Probability Density Function

269 views Asked by At

Please, anybody can explain to me why on OpenCV MOG2 function for background substraction i can't found the implementation of Probability Density Function ?

There is any trick on the proposed implementation ?

1

There are 1 answers

0
Ziri On

Here is the paper : Improved Adaptive Gaussian Mixture Model for Background Subtraction

Class reference : cv::BackgroundSubtractorMOG2 Class

Implementation : bgfg_gaussmix2.cpp

The trick as mentioned in the implementation: "Number of Gaussian components is adapted per pixel."