OpenCV  2.4.13.7
Open Source Computer Vision
cv::BRISK Class Reference

#include <features2d.hpp>

Inheritance diagram for cv::BRISK:
cv::Feature2D cv::FeatureDetector cv::DescriptorExtractor cv::Algorithm cv::Algorithm

Classes

struct  BriskLongPair
 
struct  BriskPatternPoint
 
struct  BriskShortPair
 

Public Member Functions

 BRISK (int thresh=30, int octaves=3, float patternScale=1.0f)
 
virtual ~BRISK ()
 
int descriptorSize () const
 
int descriptorType () const
 
void operator() (InputArray image, InputArray mask, vector< KeyPoint > &keypoints) const
 
void operator() (InputArray image, InputArray mask, vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false) const
 
AlgorithmInfoinfo () const
 
 BRISK (std::vector< float > &radiusList, std::vector< int > &numberList, float dMax=5.85f, float dMin=8.2f, std::vector< int > indexChange=std::vector< int >())
 
void generateKernel (std::vector< float > &radiusList, std::vector< int > &numberList, float dMax=5.85f, float dMin=8.2f, std::vector< int > indexChange=std::vector< int >())
 
- Public Member Functions inherited from cv::Feature2D
virtual void operator() (InputArray image, InputArray mask, CV_OUT vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false) const =0
 
void compute (const Mat &image, CV_OUT CV_IN_OUT std::vector< KeyPoint > &keypoints, CV_OUT Mat &descriptors) const
 
- Public Member Functions inherited from cv::FeatureDetector
virtual ~FeatureDetector ()
 
void detect (const Mat &image, CV_OUT vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const
 
void detect (const vector< Mat > &images, vector< vector< KeyPoint > > &keypoints, const vector< Mat > &masks=vector< Mat >()) const
 
virtual bool empty () const
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
string name () const
 
template<typename _Tp >
ParamType< _Tp >::member_type get (const string &name) const
 
template<typename _Tp >
ParamType< _Tp >::member_type get (const char *name) const
 
int getInt (const string &name) const
 
double getDouble (const string &name) const
 
bool getBool (const string &name) const
 
string getString (const string &name) const
 
Mat getMat (const string &name) const
 
vector< MatgetMatVector (const string &name) const
 
Ptr< AlgorithmgetAlgorithm (const string &name) const
 
void set (const string &name, int value)
 
void set (const string &name, double value)
 
void set (const string &name, bool value)
 
void set (const string &name, const string &value)
 
void set (const string &name, const Mat &value)
 
void set (const string &name, const vector< Mat > &value)
 
void set (const string &name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void set (const string &name, const Ptr< _Tp > &value)
 
void setInt (const string &name, int value)
 
void setDouble (const string &name, double value)
 
void setBool (const string &name, bool value)
 
void setString (const string &name, const string &value)
 
void setMat (const string &name, const Mat &value)
 
void setMatVector (const string &name, const vector< Mat > &value)
 
void setAlgorithm (const string &name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void setAlgorithm (const string &name, const Ptr< _Tp > &value)
 
void set (const char *name, int value)
 
void set (const char *name, double value)
 
void set (const char *name, bool value)
 
void set (const char *name, const string &value)
 
void set (const char *name, const Mat &value)
 
void set (const char *name, const vector< Mat > &value)
 
void set (const char *name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void set (const char *name, const Ptr< _Tp > &value)
 
void setInt (const char *name, int value)
 
void setDouble (const char *name, double value)
 
void setBool (const char *name, bool value)
 
void setString (const char *name, const string &value)
 
void setMat (const char *name, const Mat &value)
 
void setMatVector (const char *name, const vector< Mat > &value)
 
void setAlgorithm (const char *name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void setAlgorithm (const char *name, const Ptr< _Tp > &value)
 
string paramHelp (const string &name) const
 
int paramType (const char *name) const
 
int paramType (const string &name) const
 
void getParams (CV_OUT vector< string > &names) const
 
virtual void write (FileStorage &fs) const
 
virtual void read (const FileNode &fn)
 
- Public Member Functions inherited from cv::DescriptorExtractor
virtual ~DescriptorExtractor ()
 
void compute (const Mat &image, CV_OUT CV_IN_OUT vector< KeyPoint > &keypoints, CV_OUT Mat &descriptors) const
 
void compute (const vector< Mat > &images, vector< vector< KeyPoint > > &keypoints, vector< Mat > &descriptors) const
 
virtual bool empty () const
 

Protected Member Functions

void computeImpl (const Mat &image, vector< KeyPoint > &keypoints, Mat &descriptors) const
 
void detectImpl (const Mat &image, vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const
 
void computeKeypointsNoOrientation (InputArray image, InputArray mask, vector< KeyPoint > &keypoints) const
 
void computeDescriptorsAndOrOrientation (InputArray image, InputArray mask, vector< KeyPoint > &keypoints, OutputArray descriptors, bool doDescriptors, bool doOrientation, bool useProvidedKeypoints) const
 
int smoothedIntensity (const cv::Mat &image, const cv::Mat &integral, const float key_x, const float key_y, const unsigned int scale, const unsigned int rot, const unsigned int point) const
 

Protected Attributes

int threshold
 
int octaves
 
BriskPatternPointpatternPoints_
 
unsigned int points_
 
float * scaleList_
 
unsigned intsizeList_
 
int strings_
 
float dMax_
 
float dMin_
 
BriskShortPairshortPairs_
 
BriskLongPairlongPairs_
 
unsigned int noShortPairs_
 
unsigned int noLongPairs_
 

Static Protected Attributes

static const unsigned int scales_
 
static const float scalerange_
 
static const unsigned int n_rot_
 
static const float basicSize_
 

Additional Inherited Members

- Public Types inherited from cv::Algorithm
typedef Algorithm *(* Constructor) (void)
 
typedef int(Algorithm::* Getter) () const
 
typedef void(Algorithm::* Setter) (int)
 
- Static Public Member Functions inherited from cv::Feature2D
static Ptr< Feature2Dcreate (const string &name)
 
- Static Public Member Functions inherited from cv::FeatureDetector
static Ptr< FeatureDetectorcreate (const string &detectorType)
 
- Static Public Member Functions inherited from cv::Algorithm
static void getList (CV_OUT vector< string > &algorithms)
 
static Ptr< Algorithm_create (const string &name)
 
template<typename _Tp >
static Ptr< _Tp > create (const string &name)
 
- Static Public Member Functions inherited from cv::DescriptorExtractor
static Ptr< DescriptorExtractorcreate (const string &descriptorExtractorType)
 
- Static Protected Member Functions inherited from cv::FeatureDetector
static void removeInvalidPoints (const Mat &mask, vector< KeyPoint > &keypoints)
 
- Static Protected Member Functions inherited from cv::DescriptorExtractor
static void removeBorderKeypoints (vector< KeyPoint > &keypoints, Size imageSize, int borderSize)
 

Detailed Description

BRISK implementation

Constructor & Destructor Documentation

§ BRISK() [1/2]

cv::BRISK::BRISK ( int  thresh = 30,
int  octaves = 3,
float  patternScale = 1.0f 
)
explicit

§ ~BRISK()

virtual cv::BRISK::~BRISK ( )
virtual

§ BRISK() [2/2]

cv::BRISK::BRISK ( std::vector< float > &  radiusList,
std::vector< int > &  numberList,
float  dMax = 5.85f,
float  dMin = 8.2f,
std::vector< int indexChange = std::vector< int >() 
)
explicit

Member Function Documentation

§ computeDescriptorsAndOrOrientation()

void cv::BRISK::computeDescriptorsAndOrOrientation ( InputArray  image,
InputArray  mask,
vector< KeyPoint > &  keypoints,
OutputArray  descriptors,
bool  doDescriptors,
bool  doOrientation,
bool  useProvidedKeypoints 
) const
protected

§ computeImpl()

void cv::BRISK::computeImpl ( const Mat image,
vector< KeyPoint > &  keypoints,
Mat descriptors 
) const
protectedvirtual

§ computeKeypointsNoOrientation()

void cv::BRISK::computeKeypointsNoOrientation ( InputArray  image,
InputArray  mask,
vector< KeyPoint > &  keypoints 
) const
protected

§ descriptorSize()

int cv::BRISK::descriptorSize ( ) const
virtual

§ descriptorType()

int cv::BRISK::descriptorType ( ) const
virtual

§ detectImpl()

void cv::BRISK::detectImpl ( const Mat image,
vector< KeyPoint > &  keypoints,
const Mat mask = Mat() 
) const
protectedvirtual

Implements cv::FeatureDetector.

§ generateKernel()

void cv::BRISK::generateKernel ( std::vector< float > &  radiusList,
std::vector< int > &  numberList,
float  dMax = 5.85f,
float  dMin = 8.2f,
std::vector< int indexChange = std::vector< int >() 
)

§ info()

AlgorithmInfo* cv::BRISK::info ( ) const
virtual

Reimplemented from cv::Algorithm.

§ operator()() [1/2]

void cv::BRISK::operator() ( InputArray  image,
InputArray  mask,
vector< KeyPoint > &  keypoints 
) const

§ operator()() [2/2]

void cv::BRISK::operator() ( InputArray  image,
InputArray  mask,
vector< KeyPoint > &  keypoints,
OutputArray  descriptors,
bool  useProvidedKeypoints = false 
) const

§ smoothedIntensity()

int cv::BRISK::smoothedIntensity ( const cv::Mat image,
const cv::Mat integral,
const float  key_x,
const float  key_y,
const unsigned int  scale,
const unsigned int  rot,
const unsigned int  point 
) const
inlineprotected

Member Data Documentation

§ basicSize_

const float cv::BRISK::basicSize_
staticprotected

§ dMax_

float cv::BRISK::dMax_
protected

§ dMin_

float cv::BRISK::dMin_
protected

§ longPairs_

BriskLongPair* cv::BRISK::longPairs_
protected

§ n_rot_

const unsigned int cv::BRISK::n_rot_
staticprotected

§ noLongPairs_

unsigned int cv::BRISK::noLongPairs_
protected

§ noShortPairs_

unsigned int cv::BRISK::noShortPairs_
protected

§ octaves

int cv::BRISK::octaves
protected

§ patternPoints_

BriskPatternPoint* cv::BRISK::patternPoints_
protected

§ points_

unsigned int cv::BRISK::points_
protected

§ scaleList_

float* cv::BRISK::scaleList_
protected

§ scalerange_

const float cv::BRISK::scalerange_
staticprotected

§ scales_

const unsigned int cv::BRISK::scales_
staticprotected

§ shortPairs_

BriskShortPair* cv::BRISK::shortPairs_
protected

§ sizeList_

unsigned int* cv::BRISK::sizeList_
protected

§ strings_

int cv::BRISK::strings_
protected

§ threshold

int cv::BRISK::threshold
protected

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