MATLAB File Help: cv.BackgroundSubtractorGMG Index
cv.BackgroundSubtractorGMG

Background Subtractor module

Background Subtractor module based on the algorithm given in [Gold2012].

Takes a series of images and returns a sequence of mask uint8 images of the same size, where 255 indicates Foreground and 0 represents Background. This class implements an algorithm described in [Gold2012].

References

[Gold2012]:

Andrew B Godbehere, Akihiro Matsukawa, and Ken Goldberg. "Visual Tracking of Human Visitors under Variable-Lighting Conditions for a Responsive Audio Art Installation". In American Control Conference (ACC), Montreal, 2012, pages 4305-4312. IEEE, June 2012.

See also
Class Details
Superclasses handle
Sealed false
Construct on load false
Constructor Summary
BackgroundSubtractorGMG Creates a GMG Background Subtractor 
Property Summary
BackgroundPrior The prior probability that each individual pixel is a background 
DecisionThreshold The value of decision threshold. 
DefaultLearningRate The learning rate of the algorithm. 
MaxFeatures Total number of distinct colors to maintain in histogram. 
MaxVal The maximum value taken on by pixels in image sequence. 
MinVal The minimum value taken on by pixels in image sequence. Usually 0. 
NumFrames The number of frames used to initialize background model. 
QuantizationLevels The parameter used for quantization of color-space. 
SmoothingRadius The kernel radius used for morphological operations. 
UpdateBackgroundModel The status of background model update. 
id Object ID 
Method Summary
  addlistener Add listener for event. 
  apply Updates the background model and computes the foreground mask 
  delete Destructor 
  eq == (EQ) Test handle equality. 
  findobj Find objects matching specified conditions. 
  findprop Find property of MATLAB handle object. 
  ge >= (GE) Greater than or equal relation for handles. 
  getBackgroundImage Computes a foreground mask 
  gt > (GT) Greater than relation for handles. 
Sealed   isvalid Test handle validity. 
  le <= (LE) Less than or equal relation for handles. 
  lt < (LT) Less than relation for handles. 
  ne ~= (NE) Not equal relation for handles. 
  notify Notify listeners of event.