實現 BRISK 關鍵點檢測器和描述符提取器的類,描述於 [161] 中。 更多...
#include <opencv2/features2d.hpp>
|
| virtual String | getDefaultName () const CV_OVERRIDE |
| |
| virtual int | getOctaves () const =0 |
| |
| virtual float | getPatternScale () const =0 |
| |
| virtual int | getThreshold () const =0 |
| |
| virtual void | setOctaves (int octaves)=0 |
| | 設定檢測八度音階。
|
| |
| virtual void | setPatternScale (float patternScale)=0 |
| | 設定檢測 patternScale。
|
| |
| virtual void | setThreshold (int threshold)=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 |
| |
|
| static Ptr< BRISK > | create (const std::vector< float > &radiusList, const std::vector< int > &numberList, float dMax=5.85f, float dMin=8.2f, const std::vector< int > &indexChange=std::vector< int >()) |
| | 用於自定義模式的 BRISK 建構函式。
|
| |
| static Ptr< BRISK > | create (int thresh, int octaves, const std::vector< float > &radiusList, const std::vector< int > &numberList, float dMax=5.85f, float dMin=8.2f, const std::vector< int > &indexChange=std::vector< int >()) |
| | 用於自定義模式、檢測閾值和八度音程的 BRISK 建構函式。
|
| |
| static Ptr< BRISK > | create (int thresh=30, int octaves=3, float patternScale=1.0f) |
| | BRISK 建構函式。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
| | 從檔案中載入演算法。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
| | 從字串載入演算法。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | read (const FileNode &fn) |
| | 從檔案節點讀取演算法。
|
| |
實現 BRISK 關鍵點檢測器和描述符提取器的類,描述於 [161] 中。
◆ create() [1/3]
| static Ptr< BRISK > cv::BRISK::create |
( |
const std::vector< float > & | radiusList, |
|
|
const std::vector< int > & | numberList, |
|
|
float | dMax = 5.85f, |
|
|
float | dMin = 8.2f, |
|
|
const std::vector< int > & | indexChange = std::vector< int >() ) |
|
static |
| Python |
|---|
| cv.BRISK.create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK.create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK.create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK_create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
用於自定義模式的 BRISK 建構函式。
- 引數
-
| radiusList | 定義了在關鍵點周圍進行取樣時的半徑(以畫素為單位)(對於關鍵點比例 1)。 |
| numberList | 定義了取樣圓上的取樣點數量。必須與 radiusList 尺寸相同。 |
| dMax | 用於描述符形成時的短配對閾值(對於關鍵點比例 1,以畫素為單位)。 |
| dMin | 用於方向確定時的長配對閾值(對於關鍵點比例 1,以畫素為單位)。 |
| indexChange | 位元的索引重對映。 |
◆ create() [2/3]
| static Ptr< BRISK > cv::BRISK::create |
( |
int | thresh, |
|
|
int | octaves, |
|
|
const std::vector< float > & | radiusList, |
|
|
const std::vector< int > & | numberList, |
|
|
float | dMax = 5.85f, |
|
|
float | dMin = 8.2f, |
|
|
const std::vector< int > & | indexChange = std::vector< int >() ) |
|
static |
| Python |
|---|
| cv.BRISK.create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK.create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK.create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK_create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
用於自定義模式、檢測閾值和八度音程的 BRISK 建構函式。
- 引數
-
| thresh | AGAST 檢測閾值分數。 |
| octaves | 檢測八度音程。使用 0 表示單尺度。 |
| radiusList | 定義了在關鍵點周圍進行取樣時的半徑(以畫素為單位)(對於關鍵點比例 1)。 |
| numberList | 定義了取樣圓上的取樣點數量。必須與 radiusList 尺寸相同。 |
| dMax | 用於描述符形成時的短配對閾值(對於關鍵點比例 1,以畫素為單位)。 |
| dMin | 用於方向確定時的長配對閾值(對於關鍵點比例 1,以畫素為單位)。 |
| indexChange | 位元的索引重對映。 |
◆ create() [3/3]
| static Ptr< BRISK > cv::BRISK::create |
( |
int | thresh = 30, |
|
|
int | octaves = 3, |
|
|
float | patternScale = 1.0f ) |
|
static |
| Python |
|---|
| cv.BRISK.create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK.create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK.create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK_create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
BRISK 建構函式。
- 引數
-
| thresh | AGAST 檢測閾值分數。 |
| octaves | 檢測八度音程。使用 0 表示單尺度。 |
| patternScale | 將此比例應用於用於取樣關鍵點周圍區域的模式。 |
◆ getDefaultName()
| virtual String cv::BRISK::getDefaultName |
( |
| ) |
const |
|
virtual |
| Python |
|---|
| cv.BRISK.getDefaultName( | | ) -> | retval |
返回演算法字串識別符號。當物件儲存到檔案或字串時,此字串用作頂級 xml/yml 節點標籤。
重新實現自 cv::Feature2D。
◆ getOctaves()
| virtual int cv::BRISK::getOctaves |
( |
| ) |
const |
|
純虛擬函式 |
| Python |
|---|
| cv.BRISK.getOctaves( | | ) -> | retval |
◆ getPatternScale()
| virtual float cv::BRISK::getPatternScale |
( |
| ) |
const |
|
純虛擬函式 |
| Python |
|---|
| cv.BRISK.getPatternScale( | | ) -> | retval |
◆ getThreshold()
| virtual int cv::BRISK::getThreshold |
( |
| ) |
const |
|
純虛擬函式 |
| Python |
|---|
| cv.BRISK.getThreshold( | | ) -> | retval |
◆ setOctaves()
| virtual void cv::BRISK::setOctaves |
( |
int | octaves | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.BRISK.setOctaves( | octaves | ) -> | 無 |
設定檢測八度音階。
- 引數
-
| octaves | 檢測八度音程。使用 0 表示單尺度。 |
◆ setPatternScale()
| virtual void cv::BRISK::setPatternScale |
( |
float | patternScale | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.BRISK.setPatternScale( | patternScale | ) -> | 無 |
設定檢測 patternScale。
- 引數
-
| patternScale | 將此比例應用於用於取樣關鍵點周圍區域的模式。 |
◆ setThreshold()
| virtual void cv::BRISK::setThreshold |
( |
int | RANSAC引數。它是點到畫素中對極線的最大距離,超過此距離的點將被視為異常值,不用於計算最終的基本矩陣。它可以設定為1-3左右,具體取決於點定位的精度、影像解析度和影像噪聲。 | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.BRISK.setThreshold( | RANSAC引數。它是點到畫素中對極線的最大距離,超過此距離的點將被視為異常值,不用於計算最終的基本矩陣。它可以設定為1-3左右,具體取決於點定位的精度、影像解析度和影像噪聲。 | ) -> | 無 |
設定檢測閾值。
- 引數
-
| RANSAC引數。它是點到畫素中對極線的最大距離,超過此距離的點將被視為異常值,不用於計算最終的基本矩陣。它可以設定為1-3左右,具體取決於點定位的精度、影像解析度和影像噪聲。 | AGAST 檢測閾值分數。 |
此類的文件生成自以下檔案