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

使用 AGAST 方法進行特徵檢測的包裝類。: 更多...

#include <opencv2/features2d.hpp>

cv::AgastFeatureDetector 的協作圖

公共型別

列舉  {
  閾值 = 10000 ,
  非極大值抑制 = 10001
}
 
列舉  DetectorType {
  AGAST_5_8 = 0 ,
  AGAST_7_12d = 1 ,
  AGAST_7_12s = 2 ,
  OAST_9_16 = 3
}
 

公共成員函式

virtual String getDefaultName () const CV_OVERRIDE
 
virtual bool getNonmaxSuppression () const =0
 
virtual int getThreshold () const =0
 
virtual AgastFeatureDetector::DetectorType getType () const =0
 
virtual void setNonmaxSuppression (bool f)=0
 
virtual void setThreshold (int threshold)=0
 
virtual void setType (AgastFeatureDetector::DetectorType type)=0
 
- 從 cv::Feature2D 繼承的公共成員函式
virtual ~Feature2D ()
 
virtual void compute (InputArray image, std::vector< KeyPoint > &keypoints, OutputArray descriptors)
 計算在影像(第一種變體)或影像集(第二種變體)中檢測到的一組關鍵點的描述符。
 
virtual void compute (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, OutputArrayOfArrays descriptors)
 
virtual int defaultNorm () const
 
virtual int descriptorSize () const
 
virtual int descriptorType () const
 
virtual void detect (InputArray image, std::vector< KeyPoint > &keypoints, InputArray mask=noArray())
 檢測影像(第一種變體)或影像集(第二種變體)中的關鍵點。
 
virtual void detect (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, InputArrayOfArrays masks=noArray())
 
virtual void detectAndCompute (InputArray image, InputArray mask, std::vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false)
 
virtual bool empty () const CV_OVERRIDE
 如果檢測器物件為空,則返回 true。
 
virtual void read (const FileNode &) CV_OVERRIDE
 從檔案儲存中讀取演算法引數。
 
void read (const String &fileName)
 
void write (const Ptr< FileStorage > &fs, const String &name) const
 
void write (const String &fileName) const
 
virtual void write (FileStorage &) const CV_OVERRIDE
 將演算法引數儲存到檔案儲存中。
 
void write (FileStorage &fs, const String &name) const
 
- 從 cv::Algorithm 繼承的公共成員函式
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 清除演算法狀態。
 
virtual void save (const String &filename) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
void write (FileStorage &fs, const String &name) const
 

靜態公共成員函式

static Ptr< AgastFeatureDetectorcreate (int threshold=10, bool nonmaxSuppression=true, AgastFeatureDetector::DetectorType type=AgastFeatureDetector::OAST_9_16)
 
- 從 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
 

詳細描述

使用 AGAST 方法進行特徵檢測的包裝類。

成員列舉文件

◆ 匿名列舉

匿名列舉
列舉器
閾值 
非極大值抑制 

◆ DetectorType

列舉器
AGAST_5_8 
AGAST_7_12d 
AGAST_7_12s 
OAST_9_16 

成員函式文件

◆ create()

static Ptr< AgastFeatureDetector > cv::AgastFeatureDetector::create ( int threshold = 10,
bool nonmaxSuppression = true,
AgastFeatureDetector::DetectorType type = AgastFeatureDetector::OAST_9_16 )
static
Python
cv.AgastFeatureDetector.create([, threshold[, nonmaxSuppression[, type]]]) -> retval
cv.AgastFeatureDetector_create([, threshold[, nonmaxSuppression[, type]]]) -> retval

◆ getDefaultName()

virtual String cv::AgastFeatureDetector::getDefaultName ( ) const
virtual
Python
cv.AgastFeatureDetector.getDefaultName() -> retval

返回演算法字串識別符號。當物件儲存到檔案或字串時,此字串用作頂級 xml/yml 節點標記。

cv::Feature2D 重新實現。

◆ getNonmaxSuppression()

virtual bool cv::AgastFeatureDetector::getNonmaxSuppression ( ) const
純虛擬函式
Python
cv.AgastFeatureDetector.getNonmaxSuppression() -> retval

◆ getThreshold()

virtual int cv::AgastFeatureDetector::getThreshold ( ) const
純虛擬函式
Python
cv.AgastFeatureDetector.getThreshold() -> retval

◆ getType()

virtual AgastFeatureDetector::DetectorType cv::AgastFeatureDetector::getType ( ) const
純虛擬函式
Python
cv.AgastFeatureDetector.getType() -> retval

◆ setNonmaxSuppression()

virtual void cv::AgastFeatureDetector::setNonmaxSuppression ( bool ◆ hashtableResize())
純虛擬函式
Python
cv.AgastFeatureDetector.setNonmaxSuppression(◆ hashtableResize()) ->

◆ setThreshold()

virtual void cv::AgastFeatureDetector::setThreshold ( int RANSAC引數。它是點到畫素中對極線的最大距離,超過此距離的點將被視為異常值,不用於計算最終的基本矩陣。它可以設定為1-3左右,具體取決於點定位的精度、影像解析度和影像噪聲。)
純虛擬函式
Python
cv.AgastFeatureDetector.setThreshold(RANSAC引數。它是點到畫素中對極線的最大距離,超過此距離的點將被視為異常值,不用於計算最終的基本矩陣。它可以設定為1-3左右,具體取決於點定位的精度、影像解析度和影像噪聲。) ->

◆ setType()

virtual void cv::AgastFeatureDetector::setType ( AgastFeatureDetector::DetectorType type)
純虛擬函式
Python
cv.AgastFeatureDetector.setType(type) ->

此類文件由以下檔案生成