|
| virtual void | apply (InputArray image, OutputArray fgmask, double learningRate, Stream &stream)=0 |
| |
| void | getBackgroundImage (GpuMat &backgroundImage, Stream &stream) |
| |
| virtual void | getBackgroundImage (OutputArray backgroundImage, Stream &stream) const =0 |
| |
| virtual void | apply (InputArray image, OutputArray fgmask, double learningRate=-1) CV_OVERRIDE=0 |
| | 計算前景掩碼。
|
| |
| virtual double | getBackgroundRatio () const =0 |
| | 返回演算法的“背景比率”引數。
|
| |
| virtual double | getComplexityReductionThreshold () const =0 |
| | 返回複雜度降低閾值。
|
| |
| virtual bool | getDetectShadows () const =0 |
| | 返回陰影檢測標誌。
|
| |
| virtual int | getHistory () const =0 |
| | 返回影響背景模型的最後幀數。
|
| |
| virtual int | getNMixtures () const =0 |
| | 返回背景模型中的高斯分量數量。
|
| |
| virtual double | getShadowThreshold () const =0 |
| | 返回陰影閾值。
|
| |
| virtual int | getShadowValue () const =0 |
| | 返回陰影值。
|
| |
| virtual double | getVarInit () const =0 |
| | 返回每個高斯分量的初始方差。
|
| |
| virtual double | getVarMax () const =0 |
| |
| virtual double | getVarMin () const =0 |
| |
| virtual double | getVarThreshold () const =0 |
| | 返回畫素-模型匹配的方差閾值。
|
| |
| virtual double | getVarThresholdGen () const =0 |
| | 返回用於生成新混合分量的畫素-模型匹配的方差閾值。
|
| |
| virtual void | setBackgroundRatio (double ratio)=0 |
| | 設定演算法的“背景比率”引數。
|
| |
| virtual void | setComplexityReductionThreshold (double ct)=0 |
| | 設定複雜度降低閾值。
|
| |
| virtual void | setDetectShadows (bool detectShadows)=0 |
| | 啟用或停用陰影檢測。
|
| |
| virtual void | setHistory (int history)=0 |
| | 設定影響背景模型的最後幀數。
|
| |
| virtual void | setNMixtures (int nmixtures)=0 |
| | 設定背景模型中的高斯分量數量。
|
| |
| virtual void | setShadowThreshold (double threshold)=0 |
| | 設定陰影閾值。
|
| |
| virtual void | setShadowValue (int value)=0 |
| | 設定陰影值。
|
| |
| virtual void | setVarInit (double varInit)=0 |
| | 設定每個高斯分量的初始方差。
|
| |
| virtual void | setVarMax (double varMax)=0 |
| |
| virtual void | setVarMin (double varMin)=0 |
| |
| virtual void | setVarThreshold (double varThreshold)=0 |
| | 設定畫素-模型匹配的方差閾值。
|
| |
| virtual void | setVarThresholdGen (double varThresholdGen)=0 |
| | 設定用於生成新混合分量的畫素-模型匹配的方差閾值。
|
| |
| virtual void | getBackgroundImage (OutputArray backgroundImage) const =0 |
| | 計算背景影像。
|
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | 清除演算法狀態。
|
| |
| virtual bool | empty () const |
| | 如果演算法為空(例如,在最開始或讀取不成功之後),則返回 true。
|
| |
| virtual String | getDefaultName () const |
| |
| virtual void | read (const FileNode &fn) |
| | 從檔案儲存中讀取演算法引數。
|
| |
| virtual void | save (const String &filename) const |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| |
| virtual void | write (FileStorage &fs) const |
| | 將演算法引數儲存到檔案儲存中。
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |