OpenCV  4.2.0
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members
cv::AgastFeatureDetector_Impl Class Reference
Inheritance diagram for cv::AgastFeatureDetector_Impl:
cv::AgastFeatureDetector cv::Feature2D cv::Algorithm

Public Member Functions

 AgastFeatureDetector_Impl (int _threshold, bool _nonmaxSuppression, int _type)
 
void detect (InputArray _image, std::vector< KeyPoint > &keypoints, InputArray _mask)
 Detects keypoints in an image (first variant) or image set (second variant). More...
 
double get (int prop) const
 
bool getNonmaxSuppression () const
 
int getThreshold () const
 
int getType () const
 
void set (int prop, double value)
 
void setNonmaxSuppression (bool f)
 
void setThreshold (int threshold_)
 
void setType (int type_)
 
- Public Member Functions inherited from cv::AgastFeatureDetector
virtual String getDefaultName () const CV_OVERRIDE
 
virtual void setType (AgastFeatureDetector::DetectorType type)=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 (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...
 
virtual void read (const FileNode &) CV_OVERRIDE
 Reads algorithm parameters from a file storage. More...
 
void read (const String &fileName)
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
void write (const String &fileName) const
 
virtual void write (FileStorage &) const CV_OVERRIDE
 Stores algorithm parameters in a file storage. More...
 
- 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 (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Public Attributes

bool nonmaxSuppression
 
int threshold
 
int type
 

Additional Inherited Members

- Public Types inherited from cv::AgastFeatureDetector
enum  {
  THRESHOLD = 10000,
  NONMAX_SUPPRESSION = 10001
}
 
enum  DetectorType {
  AGAST_5_8 = 0,
  AGAST_7_12d = 1,
  AGAST_7_12s = 2,
  OAST_9_16 = 3
}
 
- Static Public Member Functions inherited from cv::AgastFeatureDetector
static Ptr< AgastFeatureDetectorcreate (int threshold=10, bool nonmaxSuppression=true, AgastFeatureDetector::DetectorType type=AgastFeatureDetector::OAST_9_16)
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 Loads algorithm from the file. More...
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String. More...
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 Reads algorithm from the file node. More...
 
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

Constructor & Destructor Documentation

◆ AgastFeatureDetector_Impl()

cv::AgastFeatureDetector_Impl::AgastFeatureDetector_Impl ( int  _threshold,
bool  _nonmaxSuppression,
int  _type 
)
inline

Member Function Documentation

◆ detect()

void cv::AgastFeatureDetector_Impl::detect ( InputArray  image,
std::vector< KeyPoint > &  keypoints,
InputArray  mask 
)
inlinevirtual

Detects keypoints in an image (first variant) or image set (second variant).

Parameters
imageImage.
keypointsThe detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] .
maskMask specifying where to look for keypoints (optional). It must be a 8-bit integer matrix with non-zero values in the region of interest.

Reimplemented from cv::Feature2D.

◆ get()

double cv::AgastFeatureDetector_Impl::get ( int  prop) const
inline

◆ getNonmaxSuppression()

bool cv::AgastFeatureDetector_Impl::getNonmaxSuppression ( ) const
inlinevirtual

◆ getThreshold()

int cv::AgastFeatureDetector_Impl::getThreshold ( ) const
inlinevirtual

◆ getType()

int cv::AgastFeatureDetector_Impl::getType ( ) const
inlinevirtual

◆ set()

void cv::AgastFeatureDetector_Impl::set ( int  prop,
double  value 
)
inline

◆ setNonmaxSuppression()

void cv::AgastFeatureDetector_Impl::setNonmaxSuppression ( bool  f)
inlinevirtual

◆ setThreshold()

void cv::AgastFeatureDetector_Impl::setThreshold ( int  threshold_)
inlinevirtual

◆ setType()

void cv::AgastFeatureDetector_Impl::setType ( int  type_)
inline

Member Data Documentation

◆ nonmaxSuppression

bool cv::AgastFeatureDetector_Impl::nonmaxSuppression

◆ threshold

int cv::AgastFeatureDetector_Impl::threshold

◆ type

int cv::AgastFeatureDetector_Impl::type

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