使用廣義霍夫變換在灰度影像中查詢任意模板 更多...
#include <opencv2/imgproc.hpp>
|
| virtual int | getLevels () const =0 |
| |
| virtual int | getVotesThreshold () const =0 |
| |
| virtual void | setLevels (int levels)=0 |
| | R-Table 層數。
|
| |
| virtual void | setVotesThreshold (int votesThreshold)=0 |
| | 檢測階段模板中心的累加器閾值。值越小,可能檢測到的錯誤位置就越多。
|
| |
| virtual void | detect (InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray votes=noArray())=0 |
| |
| virtual void | detect (InputArray image, OutputArray positions, OutputArray votes=noArray())=0 |
| | 在影像上查詢模板
|
| |
| virtual int | getCannyHighThresh () const =0 |
| |
| virtual int | getCannyLowThresh () const =0 |
| |
| virtual double | getDp () const =0 |
| |
| virtual int | getMaxBufferSize () const =0 |
| |
| virtual double | getMinDist () const =0 |
| |
| virtual void | setCannyHighThresh (int cannyHighThresh)=0 |
| | Canny 高閾值。
|
| |
| virtual void | setCannyLowThresh (int cannyLowThresh)=0 |
| | Canny 低閾值。
|
| |
| virtual void | setDp (double dp)=0 |
| | 累加器解析度與影像解析度的反比。
|
| |
| virtual void | setMaxBufferSize (int maxBufferSize)=0 |
| | 內部緩衝區的最大大小。
|
| |
| virtual void | setMinDist (double minDist)=0 |
| | 檢測到的物件中心之間的最小距離。
|
| |
| virtual void | setTemplate (InputArray edges, InputArray dx, InputArray dy, Point templCenter=Point(-1, -1))=0 |
| |
| virtual void | setTemplate (InputArray templ, Point templCenter=Point(-1, -1))=0 |
| | 設定要搜尋的模板
|
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | 清除演算法狀態。
|
| |
| virtual bool | empty () const |
| | 如果 Algorithm 為空(例如,在最開始或讀取失敗後),則返回 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 |
| |
使用廣義霍夫變換在灰度影像中查詢任意模板
僅檢測位置,不檢測平移和旋轉 [16] 。
◆ getLevels()
| virtual int cv::GeneralizedHoughBallard::getLevels |
( |
| ) |
const |
|
純虛擬函式 |
| Python |
|---|
| cv.GeneralizedHoughBallard.getLevels( | | ) -> | retval |
◆ getVotesThreshold()
| virtual int cv::GeneralizedHoughBallard::getVotesThreshold |
( |
| ) |
const |
|
純虛擬函式 |
| Python |
|---|
| cv.GeneralizedHoughBallard.getVotesThreshold( | | ) -> | retval |
◆ setLevels()
| virtual void cv::GeneralizedHoughBallard::setLevels |
( |
int | levels | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.GeneralizedHoughBallard.setLevels( | levels | ) -> | 無 |
◆ setVotesThreshold()
| virtual void cv::GeneralizedHoughBallard::setVotesThreshold |
( |
int | votesThreshold | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.GeneralizedHoughBallard.setVotesThreshold( | votesThreshold | ) -> | 無 |
檢測階段模板中心的累加器閾值。值越小,可能檢測到的錯誤位置就越多。
此類文件由以下檔案生成