public class ConfigBackgroundGmm extends ConfigBackground
ConfigBackgroundGmm.
Tuning Advice: Background models do a much better job of deciding if pixel doesn't match a model it has. This background model has multiple Gaussians. So you should keep the number of Gaussians small so that when the moving object goes past it doesn't because part of the model right away. If you have too many Gaussians its basically impossible to keep the amount of noise down and have a stable foreground object.
| Modifier and Type | Field and Description |
|---|---|
float |
decayCoefient
Determines how quickly a model is forgotten.
|
float |
initialVariance
The initial variance assigned to a new pixel.
|
float |
learningPeriod
Specifies how fast it will adjust to changes in the image.
|
float |
maxDistance
Maximum Mahalanobis a value can be from a Gaussian to be considered a member of the gaussian
|
int |
numberOfGaussian
Maximum number of gaussians that can be in a single mixture
|
float |
significantWeight
Once the weight for a Gaussian becomes greater than this amount it is no longer considered part of the
foreground and is the the background model.
|
unknownValue| Constructor and Description |
|---|
ConfigBackgroundGmm() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValidity() |
java.lang.String |
toString() |
public float learningPeriod
public float initialVariance
public float decayCoefient
public float maxDistance
public int numberOfGaussian
public float significantWeight