ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
colmap::FeatureKeypoint Struct Reference

#include <types.h>

Public Member Functions

 FeatureKeypoint ()
 
 FeatureKeypoint (const float x, const float y)
 
 FeatureKeypoint (const float x, const float y, const float scale, const float orientation)
 
 FeatureKeypoint (const float x, const float y, const float a11, const float a12, const float a21, const float a22)
 
void Rescale (const float scale)
 
void Rescale (const float scale_x, const float scale_y)
 
float ComputeScale () const
 
float ComputeScaleX () const
 
float ComputeScaleY () const
 
float ComputeOrientation () const
 
float ComputeShear () const
 

Static Public Member Functions

static FeatureKeypoint FromParameters (const float x, const float y, const float scale_x, const float scale_y, const float orientation, const float shear)
 

Public Attributes

float x
 
float y
 
float a11
 
float a12
 
float a21
 
float a22
 

Detailed Description

Definition at line 17 of file types.h.

Constructor & Destructor Documentation

◆ FeatureKeypoint() [1/4]

colmap::FeatureKeypoint::FeatureKeypoint ( )

Definition at line 38 of file types.cc.

Referenced by FromParameters().

◆ FeatureKeypoint() [2/4]

colmap::FeatureKeypoint::FeatureKeypoint ( const float  x,
const float  y 
)

Definition at line 40 of file types.cc.

◆ FeatureKeypoint() [3/4]

colmap::FeatureKeypoint::FeatureKeypoint ( const float  x,
const float  y,
const float  scale,
const float  orientation 
)

Definition at line 43 of file types.cc.

References a11, a12, a21, and a22.

◆ FeatureKeypoint() [4/4]

colmap::FeatureKeypoint::FeatureKeypoint ( const float  x,
const float  y,
const float  a11,
const float  a12,
const float  a21,
const float  a22 
)

Definition at line 55 of file types.cc.

Member Function Documentation

◆ ComputeOrientation()

float colmap::FeatureKeypoint::ComputeOrientation ( ) const

Definition at line 96 of file types.cc.

References a11, and a21.

Referenced by BOOST_AUTO_TEST_CASE(), and ComputeShear().

◆ ComputeScale()

float colmap::FeatureKeypoint::ComputeScale ( ) const

Definition at line 84 of file types.cc.

References ComputeScaleX(), and ComputeScaleY().

Referenced by BOOST_AUTO_TEST_CASE().

◆ ComputeScaleX()

float colmap::FeatureKeypoint::ComputeScaleX ( ) const

Definition at line 88 of file types.cc.

References a11, and a21.

Referenced by BOOST_AUTO_TEST_CASE(), and ComputeScale().

◆ ComputeScaleY()

float colmap::FeatureKeypoint::ComputeScaleY ( ) const

Definition at line 92 of file types.cc.

References a12, and a22.

Referenced by BOOST_AUTO_TEST_CASE(), and ComputeScale().

◆ ComputeShear()

float colmap::FeatureKeypoint::ComputeShear ( ) const

Definition at line 100 of file types.cc.

References a12, a22, and ComputeOrientation().

Referenced by BOOST_AUTO_TEST_CASE().

◆ FromParameters()

FeatureKeypoint colmap::FeatureKeypoint::FromParameters ( const float  x,
const float  y,
const float  scale_x,
const float  scale_y,
const float  orientation,
const float  shear 
)
static

Definition at line 60 of file types.cc.

References FeatureKeypoint(), x, and y.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Rescale() [1/2]

void colmap::FeatureKeypoint::Rescale ( const float  scale)

Definition at line 71 of file types.cc.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Rescale() [2/2]

void colmap::FeatureKeypoint::Rescale ( const float  scale_x,
const float  scale_y 
)

Definition at line 73 of file types.cc.

References a11, a12, a21, a22, x, and y.

Member Data Documentation

◆ a11

◆ a12

float colmap::FeatureKeypoint::a12

◆ a21

◆ a22

float colmap::FeatureKeypoint::a22

◆ x

float colmap::FeatureKeypoint::x

◆ y

float colmap::FeatureKeypoint::y

The documentation for this struct was generated from the following files: