OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::GeneralizedHoughBallard 類參考抽象類

使用廣義霍夫變換在灰度影像中查詢任意模板 更多...

#include <opencv2/imgproc.hpp>

cv::GeneralizedHoughBallard 的協作圖

公共成員函式

virtual int getLevels () const =0
 
virtual int getVotesThreshold () const =0
 
virtual void setLevels (int levels)=0
 R-Table 層數。
 
virtual void setVotesThreshold (int votesThreshold)=0
 檢測階段模板中心的累加器閾值。值越小,可能檢測到的錯誤位置就越多。
 
- 繼承自 cv::GeneralizedHough 的公共成員函式
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
 設定要搜尋的模板
 
- 繼承自 cv::Algorithm 的公共成員函式
 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
 

其他繼承的成員

- 繼承自 cv::Algorithm 的靜態公共成員函式
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 從檔案中載入演算法。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 從字串載入演算法。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 從檔案節點讀取演算法。
 
- 繼承自 cv::Algorithm 的保護成員函式
void writeFormat (FileStorage &fs) 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) ->

R-Table 層數。

◆ setVotesThreshold()

virtual void cv::GeneralizedHoughBallard::setVotesThreshold ( int votesThreshold)
純虛擬函式
Python
cv.GeneralizedHoughBallard.setVotesThreshold(votesThreshold) ->

檢測階段模板中心的累加器閾值。值越小,可能檢測到的錯誤位置就越多。


此類文件由以下檔案生成