Class cv::xfeatures2d::FREAK#
Class implementing the FREAK (Fast Retina Keypoint) keypoint descriptor, described in [10] . View details
#include <opencv2/xfeatures2d.hpp>Collaboration diagram for cv::xfeatures2d::FREAK:
Public Member Functions#
Public Member Functions inherited from cv::Feature2D
Return |
Name |
Description |
|---|---|---|
|
|
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). |
|
||
|
||
|
||
|
||
|
|
Detects keypoints in an image (first variant) or image set (second variant). |
|
||
|
||
|
Return true if detector object is empty. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
||
|
Stores algorithm parameters in a file storage. |
|
|
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Class implementing the FREAK (Fast Retina Keypoint) keypoint descriptor, described in AOV12 .
The algorithm propose a novel keypoint descriptor inspired by the human visual system and more precisely the retina, coined Fast Retina Key- point (FREAK). A cascade of binary strings is computed by efficiently comparing image intensities over a retinal sampling pattern. FREAKs are in general faster to compute with lower memory load and also more robust than SIFT, SURF or BRISK. They are competitive alternatives to existing keypoints in particular for embedded applications.
Note
An example on how to use the FREAK descriptor can be found at opencv_source_code/samples/cpp/freak_demo.cpp
Member Function Documentation#
create()#
static Ptr< FREAK > cv::xfeatures2d::FREAK::create(
bool orientationNormalized = true,
bool scaleNormalized = true,
float patternScale = 22.0f,
int nOctaves = 4,
const std::vector< int > & selectedPairs = std::vector< int >() )
Parameters
orientationNormalized— Enable orientation normalization.scaleNormalized— Enable scale normalization.patternScale— Scaling of the description pattern.nOctaves— Number of octaves covered by the detected keypoints.selectedPairs— (Optional) user defined selected pairs indexes,
getDefaultName()#
String cv::xfeatures2d::FREAK::getDefaultName()
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.
getNOctaves()#
int cv::xfeatures2d::FREAK::getNOctaves()
getOrientationNormalized()#
bool cv::xfeatures2d::FREAK::getOrientationNormalized()
getPatternScale()#
double cv::xfeatures2d::FREAK::getPatternScale()
getScaleNormalized()#
bool cv::xfeatures2d::FREAK::getScaleNormalized()
setNOctaves()#
void cv::xfeatures2d::FREAK::setNOctaves(int nOctaves)
setOrientationNormalized()#
void cv::xfeatures2d::FREAK::setOrientationNormalized(bool orientationNormalized)
setPatternScale()#
void cv::xfeatures2d::FREAK::setPatternScale(double patternScale)
setScaleNormalized()#
void cv::xfeatures2d::FREAK::setScaleNormalized(bool scaleNormalized)
Member Data Documentation#
NB_ORIENPAIRS#
static const int cv::xfeatures2d::FREAK::NB_ORIENPAIRS = 45
NB_PAIRS#
static const int cv::xfeatures2d::FREAK::NB_PAIRS = 512
NB_SCALES#
static const int cv::xfeatures2d::FREAK::NB_SCALES = 64
Source file#
The documentation for this class was generated from the following file:
opencv2/xfeatures2d.hpp