Class cv::AffineFeature#

Class for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in [349] .

Collaboration diagram for cv::AffineFeature:

Public Member Functions#

Public Member Functions inherited from cv::Feature2D
Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

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: