Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends
ATANCamera Class Reference

#include <ATANCamera.h>

List of all members.

Public Member Functions

 ATANCamera (TooN::Vector< 5 > params)
Vector< 2 > GetImageSize ()
Matrix< 2, 2 > GetProjectionDerivs ()
Vector< 2 > ImplaneBR ()
Vector< 2 > ImplaneTL ()
bool Invalid ()
double LargestRadiusInImage ()
Matrix< 4 > MakeUFBLinearFrustumMatrix (double near, double far)
double OnePixelDist ()
double PixelAspectRatio ()
Vector< 2 > Project (const Vector< 2 > &camframe)
Vector< 2 > Project (CVD::ImageRef ir)
void RefreshParams ()
void SetImageSize (Vector< 2 > v2ImageSize)
void SetImageSize (CVD::ImageRef irImageSize)
Vector< 2 > UFBLinearProject (const Vector< 2 > &camframe)
Vector< 2 > UFBLinearUnProject (const Vector< 2 > &fbframe)
Vector< 2 > UFBProject (const Vector< 2 > &camframe)
Vector< 2 > UFBUnProject (const Vector< 2 > &camframe)
Vector< 2 > UnProject (const Vector< 2 > &imframe)
Vector< 2 > UnProject (CVD::ImageRef ir)

Static Public Attributes

static const Vector
< NUMTRACKERCAMPARAMETERS
mvDefaultParams = makeVector(0.5, 0.75, 0.5, 0.5, 0.1)

Protected Member Functions

void DisableRadialDistortion ()
Matrix
< 2, NUMTRACKERCAMPARAMETERS
GetCameraParameterDerivs ()
double invrtrans (double r)
double rtrans_factor (double r)
void UpdateParams (Vector< NUMTRACKERCAMPARAMETERS > vUpdate)

Protected Attributes

bool mbInvalid
double md2Tan
double mdDistortionEnabled
double mdLargestRadius
double mdLastDistR
double mdLastFactor
double mdLastR
double mdMaxR
double mdOneOver2Tan
double mdOnePixelDist
double mdW
double mdWinv
GVars3::gvar3< Vector
< NUMTRACKERCAMPARAMETERS > > 
mgvvCameraParams
std::string msName
Vector< 2 > mvCenter
Vector< 2 > mvFocal
Vector< 2 > mvImageSize
Vector< 2 > mvImplaneBR
Vector< 2 > mvImplaneTL
Vector< 2 > mvInvFocal
Vector< 2 > mvLastCam
Vector< 2 > mvLastDistCam
Vector< 2 > mvLastIm
Vector< 2 > mvUFBLinearCenter
Vector< 2 > mvUFBLinearFocal
Vector< 2 > mvUFBLinearInvFocal

Friends

class CalibImage
class CameraCalibrator

Detailed Description

Definition at line 66 of file ATANCamera.h.


Constructor & Destructor Documentation

ATANCamera::ATANCamera ( TooN::Vector< 5 >  params)

Definition at line 11 of file ATANCamera.cc.


Member Function Documentation

Definition at line 246 of file ATANCamera.cc.

Definition at line 211 of file ATANCamera.cc.

Vector<2> ATANCamera::GetImageSize ( ) [inline]

Definition at line 73 of file ATANCamera.h.

Matrix< 2, 2 > ATANCamera::GetProjectionDerivs ( )

Definition at line 175 of file ATANCamera.cc.

Vector<2> ATANCamera::ImplaneBR ( ) [inline]
Vector<2> ATANCamera::ImplaneTL ( ) [inline]
bool ATANCamera::Invalid ( ) [inline]

Definition at line 89 of file ATANCamera.h.

double ATANCamera::invrtrans ( double  r) [inline, protected]

Definition at line 152 of file ATANCamera.h.

double ATANCamera::LargestRadiusInImage ( ) [inline]

Definition at line 90 of file ATANCamera.h.

Matrix< 4 > ATANCamera::MakeUFBLinearFrustumMatrix ( double  near,
double  far 
)

Definition at line 147 of file ATANCamera.cc.

double ATANCamera::OnePixelDist ( ) [inline]

Definition at line 91 of file ATANCamera.h.

double ATANCamera::PixelAspectRatio ( ) [inline]

Definition at line 101 of file ATANCamera.h.

Vector< 2 > ATANCamera::Project ( const Vector< 2 > &  camframe)

Definition at line 111 of file ATANCamera.cc.

Vector<2> ATANCamera::Project ( CVD::ImageRef  ir) [inline]

Definition at line 78 of file ATANCamera.h.

Definition at line 29 of file ATANCamera.cc.

double ATANCamera::rtrans_factor ( double  r) [inline, protected]

Definition at line 143 of file ATANCamera.h.

void ATANCamera::SetImageSize ( Vector< 2 >  v2ImageSize)

Definition at line 23 of file ATANCamera.cc.

void ATANCamera::SetImageSize ( CVD::ImageRef  irImageSize) [inline]

Definition at line 72 of file ATANCamera.h.

Vector< 2 > ATANCamera::UFBLinearProject ( const Vector< 2 > &  camframe) [inline]

Definition at line 166 of file ATANCamera.h.

Vector< 2 > ATANCamera::UFBLinearUnProject ( const Vector< 2 > &  fbframe) [inline]

Definition at line 174 of file ATANCamera.h.

Vector< 2 > ATANCamera::UFBProject ( const Vector< 2 > &  camframe)

Definition at line 254 of file ATANCamera.cc.

Vector< 2 > ATANCamera::UFBUnProject ( const Vector< 2 > &  camframe)

Definition at line 269 of file ATANCamera.cc.

Vector< 2 > ATANCamera::UnProject ( const Vector< 2 > &  imframe)

Definition at line 127 of file ATANCamera.cc.

Vector<2> ATANCamera::UnProject ( CVD::ImageRef  ir) [inline]

Definition at line 80 of file ATANCamera.h.

void ATANCamera::UpdateParams ( Vector< NUMTRACKERCAMPARAMETERS vUpdate) [protected]

Definition at line 239 of file ATANCamera.cc.


Friends And Related Function Documentation

friend class CalibImage [friend]

Definition at line 162 of file ATANCamera.h.

friend class CameraCalibrator [friend]

Definition at line 161 of file ATANCamera.h.


Member Data Documentation

bool ATANCamera::mbInvalid [protected]

Definition at line 121 of file ATANCamera.h.

double ATANCamera::md2Tan [protected]

Definition at line 127 of file ATANCamera.h.

double ATANCamera::mdDistortionEnabled [protected]

Definition at line 131 of file ATANCamera.h.

double ATANCamera::mdLargestRadius [protected]

Definition at line 124 of file ATANCamera.h.

double ATANCamera::mdLastDistR [protected]

Definition at line 119 of file ATANCamera.h.

double ATANCamera::mdLastFactor [protected]

Definition at line 120 of file ATANCamera.h.

double ATANCamera::mdLastR [protected]

Definition at line 118 of file ATANCamera.h.

double ATANCamera::mdMaxR [protected]

Definition at line 125 of file ATANCamera.h.

double ATANCamera::mdOneOver2Tan [protected]

Definition at line 128 of file ATANCamera.h.

double ATANCamera::mdOnePixelDist [protected]

Definition at line 126 of file ATANCamera.h.

double ATANCamera::mdW [protected]

Definition at line 129 of file ATANCamera.h.

double ATANCamera::mdWinv [protected]

Definition at line 130 of file ATANCamera.h.

GVars3::gvar3<Vector<NUMTRACKERCAMPARAMETERS> > ATANCamera::mgvvCameraParams [protected]

Definition at line 108 of file ATANCamera.h.

std::string ATANCamera::msName [protected]

Definition at line 157 of file ATANCamera.h.

Vector<2> ATANCamera::mvCenter [protected]

Definition at line 132 of file ATANCamera.h.

const Vector< NUMTRACKERCAMPARAMETERS > ATANCamera::mvDefaultParams = makeVector(0.5, 0.75, 0.5, 0.5, 0.1) [static]

Definition at line 105 of file ATANCamera.h.

Vector<2> ATANCamera::mvFocal [protected]

Definition at line 133 of file ATANCamera.h.

Vector<2> ATANCamera::mvImageSize [protected]

Definition at line 135 of file ATANCamera.h.

Vector<2> ATANCamera::mvImplaneBR [protected]

Definition at line 140 of file ATANCamera.h.

Vector<2> ATANCamera::mvImplaneTL [protected]

Definition at line 139 of file ATANCamera.h.

Vector<2> ATANCamera::mvInvFocal [protected]

Definition at line 134 of file ATANCamera.h.

Vector<2> ATANCamera::mvLastCam [protected]

Definition at line 115 of file ATANCamera.h.

Vector<2> ATANCamera::mvLastDistCam [protected]

Definition at line 117 of file ATANCamera.h.

Vector<2> ATANCamera::mvLastIm [protected]

Definition at line 116 of file ATANCamera.h.

Vector<2> ATANCamera::mvUFBLinearCenter [protected]

Definition at line 138 of file ATANCamera.h.

Vector<2> ATANCamera::mvUFBLinearFocal [protected]

Definition at line 136 of file ATANCamera.h.

Vector<2> ATANCamera::mvUFBLinearInvFocal [protected]

Definition at line 137 of file ATANCamera.h.


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


tum_ardrone
Author(s):
autogenerated on Sat Jun 8 2019 20:27:23