使用 AGAST 方法進行特徵檢測的包裝類。: 更多...
#include <opencv2/features2d.hpp>
|
| 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 |
| |
| 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 |
| |
| | 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 |
| |
◆ 匿名列舉
◆ DetectorType
| 列舉器 |
|---|
| AGAST_5_8 | |
| AGAST_7_12d | |
| AGAST_7_12s | |
| OAST_9_16 | |
◆ create()
| 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()
| 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()
| Python |
|---|
| cv.AgastFeatureDetector.setType( | type | ) -> | 無 |
此類文件由以下檔案生成