c++opencvparametersbackground-foreground

Parameter of BackgroundSubtractorMOG2


I have Problem understanding all Parameter of backgroundsubtractormog2.

I looked in the code (located in bfgf_gaussmix2.cpp), but don't see the connection to the mentioned paper. For exmaple is Tb = varThreshold, but what is the name of Tb in the paper?

I am especially interested in the fat marked parameter.

Let's start with the easy parameter [my remarks]:

Now to the ones i don't understand:

Someone asked pretty much the same question on the OpenCV website, but without an answer.


Solution

  • Well, I don't think anyone could tell you which parameter is what if you don't know the details of the algorithm that you are using. Besides, you should not need anyone to tell you which parameter is what if you know the details of the algorithm. I'm telling this for detailed parameters (fCT, fVarMax, etc.) not for straightforward ones (nmixtures, nShadowDetection, etc.).

    So, I think you should read the papers referenced in the documentation. Here are the links for the papers 1, 2, 3.

    And also you should read this paper as well, which is the beginning of background estimation.

    After reading these papers and checking out the code with, I'm sure you will understand what those parameters are.

    Good luck!