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

該類實現了由 [2] 引入的關鍵點檢測器,是 StarDetector 的同義詞。: 更多...

#include <opencv2/xfeatures2d.hpp>

cv::xfeatures2d::StarDetector 的協作圖

公共成員函式

String getDefaultName () const CV_OVERRIDE
 
virtual int getLineThresholdBinarized () const =0
 
virtual int getLineThresholdProjected () const =0
 
virtual int getMaxSize () const =0
 
virtual int getResponseThreshold () const =0
 
virtual int getSuppressNonmaxSize () const =0
 
virtual void setLineThresholdBinarized (int _lineThresholdBinarized)=0
 
virtual void setLineThresholdProjected (int _lineThresholdProjected)=0
 
virtual void setMaxSize (int _maxSize)=0
 
virtual void setResponseThreshold (int _responseThreshold)=0
 
virtual void setSuppressNonmaxSize (int _suppressNonmaxSize)=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< StarDetectorcreate (int maxSize=45, int responseThreshold=30, int lineThresholdProjected=10, int lineThresholdBinarized=8, int suppressNonmaxSize=5)
 完整的建構函式
 
- 從 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
 

詳細描述

該類實現了由 [2] 引入的關鍵點檢測器,是 StarDetector 的同義詞。

成員函式文件

◆ create()

static Ptr< StarDetector > cv::xfeatures2d::StarDetector::create ( int maxSize = 45,
int responseThreshold = 30,
int lineThresholdProjected = 10,
int lineThresholdBinarized = 8,
int suppressNonmaxSize = 5 )
static
Python
cv.xfeatures2d.StarDetector.create([, maxSize[, responseThreshold[, lineThresholdProjected[, lineThresholdBinarized[, suppressNonmaxSize]]]]]) -> retval
cv.xfeatures2d.StarDetector_create([, maxSize[, responseThreshold[, lineThresholdProjected[, lineThresholdBinarized[, suppressNonmaxSize]]]]]) -> retval

完整的建構函式

◆ getDefaultName()

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

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

cv::Feature2D 重新實現。

◆ getLineThresholdBinarized()

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

◆ getLineThresholdProjected()

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

◆ getMaxSize()

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

◆ getResponseThreshold()

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

◆ getSuppressNonmaxSize()

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

◆ setLineThresholdBinarized()

virtual void cv::xfeatures2d::StarDetector::setLineThresholdBinarized ( int _lineThresholdBinarized)
純虛擬函式
Python
cv.xfeatures2d.StarDetector.setLineThresholdBinarized(_lineThresholdBinarized) ->

◆ setLineThresholdProjected()

virtual void cv::xfeatures2d::StarDetector::setLineThresholdProjected ( int _lineThresholdProjected)
純虛擬函式
Python
cv.xfeatures2d.StarDetector.setLineThresholdProjected(_lineThresholdProjected) ->

◆ setMaxSize()

virtual void cv::xfeatures2d::StarDetector::setMaxSize ( int _maxSize)
純虛擬函式
Python
cv.xfeatures2d.StarDetector.setMaxSize(_maxSize) ->

◆ setResponseThreshold()

virtual void cv::xfeatures2d::StarDetector::setResponseThreshold ( int _responseThreshold)
純虛擬函式
Python
cv.xfeatures2d.StarDetector.setResponseThreshold(_responseThreshold) ->

◆ setSuppressNonmaxSize()

virtual void cv::xfeatures2d::StarDetector::setSuppressNonmaxSize ( int _suppressNonmaxSize)
純虛擬函式
Python
cv.xfeatures2d.StarDetector.setSuppressNonmaxSize(_suppressNonmaxSize) ->

此類文件由以下檔案生成