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

實現 FREAK (Fast Retina Keypoint) 關鍵點描述符的類,在 [9] 中描述。 更多...

#include <opencv2/xfeatures2d.hpp>

cv::xfeatures2d::FREAK 的協作圖

公共成員函式

String getDefaultName () const CV_OVERRIDE
 
virtual int getNOctaves () const =0
 
virtual bool getOrientationNormalized () const =0
 
virtual double getPatternScale () const =0
 
virtual bool getScaleNormalized () const =0
 
virtual void setNOctaves (int nOctaves)=0
 
virtual void setOrientationNormalized (bool orientationNormalized)=0
 
virtual void setPatternScale (double patternScale)=0
 
virtual void setScaleNormalized (bool scaleNormalized)=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< FREAKcreate (bool orientationNormalized=true, bool scaleNormalized=true, float patternScale=22.0f, int nOctaves=4, const std::vector< int > &selectedPairs=std::vector< int >())
 
- 從 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)
 從檔案節點讀取演算法。
 

靜態公共屬性

static const int NB_ORIENPAIRS = 45
 
static const int NB_PAIRS = 512
 
static const int NB_SCALES = 64
 

附加繼承成員

- 從 cv::Algorithm 繼承的保護成員函式
void writeFormat (FileStorage &fs) const
 

詳細描述

實現 FREAK (Fast Retina Keypoint) 關鍵點描述符的類,在 [9] 中描述。

該演算法提出了一種受人類視覺系統,更準確地說是視網膜啟發的新型關鍵點描述符,稱為 Fast Retina Key- point (FREAK)。透過有效地比較視網膜取樣模式上的影像強度來計算二進位制字串的級聯。與 SIFTSURFBRISK 相比,FREAK 通常計算速度更快,記憶體負載更低,也更強大。它們是現有關鍵點的有競爭力的替代品,特別是在嵌入式應用程式中。

注意
  • 有關如何使用 FREAK 描述符的示例可以在 opencv_source_code/samples/cpp/freak_demo.cpp 中找到

成員函式文件

◆ create()

static Ptr< FREAK > cv::xfeatures2d::FREAK::create ( bool orientationNormalized = true,
bool scaleNormalized = true,
float patternScale = 22.0f,
int nOctaves = 4,
const std::vector< int > & selectedPairs = std::vector< int >() )
static
Python
cv.xfeatures2d.FREAK.create([, orientationNormalized[, scaleNormalized[, patternScale[, nOctaves[, selectedPairs]]]]]) -> retval
cv.xfeatures2d.FREAK_create([, orientationNormalized[, scaleNormalized[, patternScale[, nOctaves[, selectedPairs]]]]]) -> retval
引數
orientationNormalized啟用方向歸一化。
scaleNormalized啟用尺度歸一化。
patternScale描述模式的縮放。
nOctaves檢測到的關鍵點覆蓋的八度音階數。
selectedPairs(可選) 使用者定義的選定對索引,

◆ getDefaultName()

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

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

cv::Feature2D 重新實現。

◆ getNOctaves()

virtual int cv::xfeatures2d::FREAK::getNOctaves ( ) const
純虛擬函式
Python
cv.xfeatures2d.FREAK.getNOctaves() -> retval

◆ getOrientationNormalized()

virtual bool cv::xfeatures2d::FREAK::getOrientationNormalized ( ) const
純虛擬函式
Python
cv.xfeatures2d.FREAK.getOrientationNormalized() -> retval

◆ getPatternScale()

virtual double cv::xfeatures2d::FREAK::getPatternScale ( ) const
純虛擬函式
Python
cv.xfeatures2d.FREAK.getPatternScale() -> retval

◆ getScaleNormalized()

virtual bool cv::xfeatures2d::FREAK::getScaleNormalized ( ) const
純虛擬函式
Python
cv.xfeatures2d.FREAK.getScaleNormalized() -> retval

◆ setNOctaves()

virtual void cv::xfeatures2d::FREAK::setNOctaves ( int nOctaves)
純虛擬函式
Python
cv.xfeatures2d.FREAK.setNOctaves(nOctaves) ->

◆ setOrientationNormalized()

virtual void cv::xfeatures2d::FREAK::setOrientationNormalized ( bool orientationNormalized)
純虛擬函式
Python
cv.xfeatures2d.FREAK.setOrientationNormalized(orientationNormalized) ->

◆ setPatternScale()

virtual void cv::xfeatures2d::FREAK::setPatternScale ( double patternScale)
純虛擬函式
Python
cv.xfeatures2d.FREAK.setPatternScale(patternScale) ->

◆ setScaleNormalized()

virtual void cv::xfeatures2d::FREAK::setScaleNormalized ( bool scaleNormalized)
純虛擬函式
Python
cv.xfeatures2d.FREAK.setScaleNormalized(scaleNormalized) ->

成員資料文件

◆ NB_ORIENPAIRS

const int cv::xfeatures2d::FREAK::NB_ORIENPAIRS = 45
static

◆ NB_PAIRS

const int cv::xfeatures2d::FREAK::NB_PAIRS = 512
static

◆ NB_SCALES

const int cv::xfeatures2d::FREAK::NB_SCALES = 64
static

此類文件由以下檔案生成