OpenCV  3.1.0-dev
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::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
 Return true if detector object is empty. More...
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 Reads algorithm parameters from a file storage. More...
 
virtual void save (const String &filename) const
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage. More...
 

Public Attributes

bool nonmaxSuppression
 
int threshold
 
int type
 

Additional Inherited Members

- Public Types inherited from cv::AgastFeatureDetector
enum  {
  AGAST_5_8 = 0,
  AGAST_7_12d = 1,
  AGAST_7_12s = 2,
  OAST_9_16 = 3,
  THRESHOLD = 10000,
  NONMAX_SUPPRESSION = 10001
}
 
- Static Public Member Functions inherited from cv::AgastFeatureDetector
static Ptr< AgastFeatureDetectorcreate (int threshold=10, bool nonmaxSuppression=true, int type=AgastFeatureDetector::OAST_9_16)
 
- 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...
 
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

Constructor & Destructor Documentation

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

Member Function Documentation

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.

double cv::AgastFeatureDetector_Impl::get ( int  prop) const
inline
bool cv::AgastFeatureDetector_Impl::getNonmaxSuppression ( ) const
inlinevirtual
int cv::AgastFeatureDetector_Impl::getThreshold ( ) const
inlinevirtual
int cv::AgastFeatureDetector_Impl::getType ( ) const
inlinevirtual
void cv::AgastFeatureDetector_Impl::set ( int  prop,
double  value 
)
inline
void cv::AgastFeatureDetector_Impl::setNonmaxSuppression ( bool  f)
inlinevirtual
void cv::AgastFeatureDetector_Impl::setThreshold ( int  threshold_)
inlinevirtual
void cv::AgastFeatureDetector_Impl::setType ( int  type_)
inlinevirtual

Member Data Documentation

bool cv::AgastFeatureDetector_Impl::nonmaxSuppression
int cv::AgastFeatureDetector_Impl::threshold
int cv::AgastFeatureDetector_Impl::type

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