OpenCV  4.7.0
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | List of all members
cv::xfeatures2d::StarDetector Class Referenceabstract

The class implements the keypoint detector introduced by [2], synonym of StarDetector. : More...

#include <opencv2/xfeatures2d.hpp>

Inheritance diagram for cv::xfeatures2d::StarDetector:
cv::Feature2D cv::Algorithm

Public Member Functions

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
 
- Public Member Functions inherited from cv::Feature2D
virtual ~Feature2D ()
 
virtual void compute (InputArray image, std::vector< KeyPoint > &keypoints, OutputArray descriptors)
 Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). More...
 
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())
 Detects keypoints in an image (first variant) or image set (second variant). More...
 
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
 Return true if detector object is empty. More...
 
void read (const String &fileName)
 
virtual void read (const FileNode &) CV_OVERRIDE
 Reads algorithm parameters from a file storage. More...
 
void write (const String &fileName) const
 
virtual void write (FileStorage &) const CV_OVERRIDE
 Stores algorithm parameters in a file storage. More...
 
void write (FileStorage &fs, const String &name) const
 
void write (const Ptr< FileStorage > &fs, const String &name) const
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual void save (const String &filename) const
 
void write (FileStorage &fs, const String &name) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 

Static Public Member Functions

static Ptr< StarDetectorcreate (int maxSize=45, int responseThreshold=30, int lineThresholdProjected=10, int lineThresholdBinarized=8, int suppressNonmaxSize=5)
 the full constructor More...
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file. More...
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String. More...
 
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node. More...
 

Additional Inherited Members

- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

Detailed Description

The class implements the keypoint detector introduced by [2], synonym of StarDetector. :

Member Function Documentation

◆ 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

the full constructor

◆ getDefaultName()

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.

Reimplemented from cv::Feature2D.

◆ getLineThresholdBinarized()

virtual int cv::xfeatures2d::StarDetector::getLineThresholdBinarized ( ) const
pure virtual
Python:
cv.xfeatures2d.StarDetector.getLineThresholdBinarized() -> retval

◆ getLineThresholdProjected()

virtual int cv::xfeatures2d::StarDetector::getLineThresholdProjected ( ) const
pure virtual
Python:
cv.xfeatures2d.StarDetector.getLineThresholdProjected() -> retval

◆ getMaxSize()

virtual int cv::xfeatures2d::StarDetector::getMaxSize ( ) const
pure virtual
Python:
cv.xfeatures2d.StarDetector.getMaxSize() -> retval

◆ getResponseThreshold()

virtual int cv::xfeatures2d::StarDetector::getResponseThreshold ( ) const
pure virtual
Python:
cv.xfeatures2d.StarDetector.getResponseThreshold() -> retval

◆ getSuppressNonmaxSize()

virtual int cv::xfeatures2d::StarDetector::getSuppressNonmaxSize ( ) const
pure virtual
Python:
cv.xfeatures2d.StarDetector.getSuppressNonmaxSize() -> retval

◆ setLineThresholdBinarized()

virtual void cv::xfeatures2d::StarDetector::setLineThresholdBinarized ( int  _lineThresholdBinarized)
pure virtual
Python:
cv.xfeatures2d.StarDetector.setLineThresholdBinarized(_lineThresholdBinarized) -> None

◆ setLineThresholdProjected()

virtual void cv::xfeatures2d::StarDetector::setLineThresholdProjected ( int  _lineThresholdProjected)
pure virtual
Python:
cv.xfeatures2d.StarDetector.setLineThresholdProjected(_lineThresholdProjected) -> None

◆ setMaxSize()

virtual void cv::xfeatures2d::StarDetector::setMaxSize ( int  _maxSize)
pure virtual
Python:
cv.xfeatures2d.StarDetector.setMaxSize(_maxSize) -> None

◆ setResponseThreshold()

virtual void cv::xfeatures2d::StarDetector::setResponseThreshold ( int  _responseThreshold)
pure virtual
Python:
cv.xfeatures2d.StarDetector.setResponseThreshold(_responseThreshold) -> None

◆ setSuppressNonmaxSize()

virtual void cv::xfeatures2d::StarDetector::setSuppressNonmaxSize ( int  _suppressNonmaxSize)
pure virtual
Python:
cv.xfeatures2d.StarDetector.setSuppressNonmaxSize(_suppressNonmaxSize) -> None

The documentation for this class was generated from the following file: