cv.BackgroundSubtractorCNT - MATLAB File Help Go to online doc for cv.BackgroundSubtractorCNT
cv.BackgroundSubtractorCNT

Background subtraction based on counting

About as fast as cv.BackgroundSubtractorMOG2 on a high end system. More than twice faster than MOG2 on cheap hardware (benchmarked on Raspberry Pi3).

Algorithm by: Sagi Zeevi

See also
Class Details
Superclasses handle
Sealed false
Construct on load false
Constructor Summary
BackgroundSubtractorCNT Creates a CNT Background Subtractor 
Property Summary
IsParallel if we're parallelizing the algorithm. 
MaxPixelStability maximum allowed credit for a pixel in history. 
MinPixelStability number of frames with same pixel color to consider stable. 
UseHistory if we're giving a pixel credit for being stable for a long time. 
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 background image 
  gt > (GT) Greater than relation for handles. 
Sealed   isvalid Test handle validity. 
  le <= (LE) Less than or equal relation for handles. 
  listener Add listener for event without binding the listener to the source object. 
  lt < (LT) Less than relation for handles. 
  ne ~= (NE) Not equal relation for handles. 
  notify Notify listeners of event. 
Event Summary
ObjectBeingDestroyed Notifies listeners that a particular object has been destroyed.