Class cv::AffineFeature#
Class for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in [349] .
#include <opencv2/features.hpp>Collaboration diagram for cv::AffineFeature:
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 for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in [349] .
Member Function Documentation#
create()#
static Ptr< AffineFeature > cv::AffineFeature::create(
const Ptr< Feature2D > & backend,
int maxTilt = 5,
int minTilt = 0,
float tiltStep = 1.4142135623730951f,
float rotateStepBase = 72 )
Python:
cv.AffineFeature.create(backend[, maxTilt[, minTilt[, tiltStep[, rotateStepBase]]]]) -> retval
cv.AffineFeature_create(backend[, maxTilt[, minTilt[, tiltStep[, rotateStepBase]]]]) -> retval
Parameters
backend— The detector/extractor you want to use as backend.maxTilt— The highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.minTilt— The lowest power index of tilt factor. 0 is used in the paper.tiltStep— Tilt sampling step \(\delta_t\) in Algorithm 1 in the paper.rotateStepBase— Rotation sampling step factor b in Algorithm 1 in the paper.
getDefaultName()#
String cv::AffineFeature::getDefaultName()
Python:
cv.AffineFeature.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.
getViewParams()#
void cv::AffineFeature::getViewParams(
std::vector< float > & tilts,
std::vector< float > & rolls )
Python:
cv.AffineFeature.getViewParams(tilts, rolls)
setViewParams()#
void cv::AffineFeature::setViewParams(
const std::vector< float > & tilts,
const std::vector< float > & rolls )
Python:
cv.AffineFeature.setViewParams(tilts, rolls)
Source file#
The documentation for this class was generated from the following file:
opencv2/features.hpp