|
virtual void | apply (InputArray image, OutputArray fgmask, double learningRate, Stream &stream)=0 |
|
virtual void | getBackgroundImage (OutputArray backgroundImage, Stream &stream) const =0 |
|
void | getBackgroundImage (GpuMat &backgroundImage, Stream &stream) |
|
virtual void | apply (InputArray image, OutputArray fgmask, double learningRate=-1) CV_OVERRIDE=0 |
| Computes a foreground mask. More...
|
|
virtual double | getBackgroundRatio () const =0 |
| Returns the "background ratio" parameter of the algorithm. More...
|
|
virtual double | getComplexityReductionThreshold () const =0 |
| Returns the complexity reduction threshold. More...
|
|
virtual bool | getDetectShadows () const =0 |
| Returns the shadow detection flag. More...
|
|
virtual int | getHistory () const =0 |
| Returns the number of last frames that affect the background model. More...
|
|
virtual int | getNMixtures () const =0 |
| Returns the number of gaussian components in the background model. More...
|
|
virtual double | getShadowThreshold () const =0 |
| Returns the shadow threshold. More...
|
|
virtual int | getShadowValue () const =0 |
| Returns the shadow value. More...
|
|
virtual double | getVarInit () const =0 |
| Returns the initial variance of each gaussian component. More...
|
|
virtual double | getVarMax () const =0 |
|
virtual double | getVarMin () const =0 |
|
virtual double | getVarThreshold () const =0 |
| Returns the variance threshold for the pixel-model match. More...
|
|
virtual double | getVarThresholdGen () const =0 |
| Returns the variance threshold for the pixel-model match used for new mixture component generation. More...
|
|
virtual void | setBackgroundRatio (double ratio)=0 |
| Sets the "background ratio" parameter of the algorithm. More...
|
|
virtual void | setComplexityReductionThreshold (double ct)=0 |
| Sets the complexity reduction threshold. More...
|
|
virtual void | setDetectShadows (bool detectShadows)=0 |
| Enables or disables shadow detection. More...
|
|
virtual void | setHistory (int history)=0 |
| Sets the number of last frames that affect the background model. More...
|
|
virtual void | setNMixtures (int nmixtures)=0 |
| Sets the number of gaussian components in the background model. More...
|
|
virtual void | setShadowThreshold (double threshold)=0 |
| Sets the shadow threshold. More...
|
|
virtual void | setShadowValue (int value)=0 |
| Sets the shadow value. More...
|
|
virtual void | setVarInit (double varInit)=0 |
| Sets the initial variance of each gaussian component. More...
|
|
virtual void | setVarMax (double varMax)=0 |
|
virtual void | setVarMin (double varMin)=0 |
|
virtual void | setVarThreshold (double varThreshold)=0 |
| Sets the variance threshold for the pixel-model match. More...
|
|
virtual void | setVarThresholdGen (double varThresholdGen)=0 |
| Sets the variance threshold for the pixel-model match used for new mixture component generation. More...
|
|
virtual void | getBackgroundImage (OutputArray backgroundImage) const =0 |
| Computes a background image. More...
|
|
| Algorithm () |
|
virtual | ~Algorithm () |
|
virtual void | clear () |
| Clears the algorithm state. More...
|
|
virtual bool | empty () const |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
|
|
virtual String | getDefaultName () const |
|
virtual void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage. More...
|
|
virtual void | save (const String &filename) const |
|
virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage. More...
|
|
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|