|
| ReliabilityMog2 () |
| the default constructor
|
|
| ReliabilityMog2 (int _history, float _varThreshold, bool _bShadowDetection=true) |
| the full constructor that takes the length of the history,
|
|
| ~ReliabilityMog2 () |
| the destructor
|
|
void | apply (InputArray image, OutputArray fgmask, double learningRate=-1) |
| the update operator
|
|
void | apply (InputArray image, OutputArray fgmask, OutputArray featureMap, double learningRate=-1) |
|
virtual void | getBackgroundImage (OutputArray backgroundImage) const |
| computes a background image which are the mean of all background gaussians
|
|
void | initialize (Size _frameSize, int _frameType) |
| re-initiaization method
|
|
virtual int | getHistory () const |
|
virtual void | setHistory (int _nframes) |
|
virtual int | getNMixtures () const |
|
virtual void | setNMixtures (int nmix) |
|
virtual double | getBackgroundRatio () const |
|
virtual void | setBackgroundRatio (double _backgroundRatio) |
|
virtual double | getVarThreshold () const |
|
virtual void | setVarThreshold (double _varThreshold) |
|
virtual double | getVarThresholdGen () const |
|
virtual void | setVarThresholdGen (double _varThresholdGen) |
|
virtual double | getVarInit () const |
|
virtual void | setVarInit (double varInit) |
|
virtual double | getVarMin () const |
|
virtual void | setVarMin (double varMin) |
|
virtual double | getVarMax () const |
|
virtual void | setVarMax (double varMax) |
|
virtual double | getComplexityReductionThreshold () const |
|
virtual void | setComplexityReductionThreshold (double ct) |
|
virtual bool | getDetectShadows () const |
|
virtual void | setDetectShadows (bool detectshadows) |
|
virtual int | getShadowValue () const |
|
virtual void | setShadowValue (int value) |
|
virtual double | getShadowThreshold () const |
|
virtual void | setShadowThreshold (double value) |
|
virtual void | write (FileStorage &fs) const |
|
virtual void | read (const FileNode &fn) |
|