public interface BackgroundAlgorithmGmm
Background model in which each pixel is modeled as a Gaussian mixture model. The number of Gaussians in the mixture is determined dynamically. If a pixel value is encountered which doesn't match any mixture then a new Gaussian is added. Gaussians are removed when their weight becomes negative. See [1] for details.
Tuning Parameters:
[1] Zivkovic, Zoran. "Improved adaptive Gaussian mixture model for background subtraction." In Pattern Recognition, 2004. ICPR 2004. Proceedings of the 17th International Conference on, vol. 2, pp. 28-31. IEEE, 2004.
| Modifier and Type | Method and Description |
|---|---|
float |
getInitialVariance()
Returns the initial variance assigned to a pixel
|
float |
getLearningPeriod()
Returns the learning period.
|
void |
setInitialVariance(float initialVariance)
Sets the initial variance assigned to a pixel
|
void |
setLearningPeriod(float period)
Specifies the learning rate
|
void |
setSignificantWeight(float value)
Minimum value of a Gaussian's weight to be considered part of the background
|
float getInitialVariance()
void setInitialVariance(float initialVariance)
initialVariance - initial variancefloat getLearningPeriod()
void setLearningPeriod(float period)
period - Must be more than 0.void setSignificantWeight(float value)