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

#include <ATANCamera.h>

List of all members.

Public Member Functions

 ATANCamera (std::string sName)
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)

Public Attributes

Vector< NUMTRACKERCAMPARAMETERSmgvvCameraParams

Static Public Attributes

static const Vector
< NUMTRACKERCAMPARAMETERS
mvDefaultParams = makeVector(0.392, 0.613, 0.484, 0.476, 0.967)

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

double MaxFOV_
bool mbInvalid
double md2Tan
double mdDistortionEnabled
double mdLargestRadius
double mdLastDistR
double mdLastFactor
double mdLastR
double mdMaxR
double mdOneOver2Tan
double mdOnePixelDist
double mdW
double mdWinv
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 68 of file ATANCamera.h.


Constructor & Destructor Documentation

ATANCamera::ATANCamera ( std::string  sName)

Definition at line 12 of file ATANCamera.cc.


Member Function Documentation

Definition at line 257 of file ATANCamera.cc.

Definition at line 222 of file ATANCamera.cc.

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

Definition at line 75 of file ATANCamera.h.

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

Definition at line 186 of file ATANCamera.cc.

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

Definition at line 91 of file ATANCamera.h.

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

Definition at line 162 of file ATANCamera.h.

double ATANCamera::LargestRadiusInImage ( ) [inline]

Definition at line 92 of file ATANCamera.h.

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

Definition at line 158 of file ATANCamera.cc.

double ATANCamera::OnePixelDist ( ) [inline]

Definition at line 93 of file ATANCamera.h.

double ATANCamera::PixelAspectRatio ( ) [inline]

Definition at line 103 of file ATANCamera.h.

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

Definition at line 123 of file ATANCamera.cc.

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

Definition at line 80 of file ATANCamera.h.

Definition at line 36 of file ATANCamera.cc.

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

Definition at line 153 of file ATANCamera.h.

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

Definition at line 30 of file ATANCamera.cc.

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

Definition at line 74 of file ATANCamera.h.

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

Definition at line 176 of file ATANCamera.h.

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

Definition at line 184 of file ATANCamera.h.

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

Definition at line 265 of file ATANCamera.cc.

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

Definition at line 280 of file ATANCamera.cc.

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

Definition at line 139 of file ATANCamera.cc.

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

Definition at line 82 of file ATANCamera.h.

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

Definition at line 250 of file ATANCamera.cc.


Friends And Related Function Documentation

friend class CalibImage [friend]

Definition at line 172 of file ATANCamera.h.

friend class CameraCalibrator [friend]

Definition at line 171 of file ATANCamera.h.


Member Data Documentation

double ATANCamera::MaxFOV_ [protected]

Definition at line 122 of file ATANCamera.h.

bool ATANCamera::mbInvalid [protected]

Definition at line 131 of file ATANCamera.h.

double ATANCamera::md2Tan [protected]

Definition at line 137 of file ATANCamera.h.

double ATANCamera::mdDistortionEnabled [protected]

Definition at line 141 of file ATANCamera.h.

double ATANCamera::mdLargestRadius [protected]

Definition at line 134 of file ATANCamera.h.

double ATANCamera::mdLastDistR [protected]

Definition at line 129 of file ATANCamera.h.

double ATANCamera::mdLastFactor [protected]

Definition at line 130 of file ATANCamera.h.

double ATANCamera::mdLastR [protected]

Definition at line 128 of file ATANCamera.h.

double ATANCamera::mdMaxR [protected]

Definition at line 135 of file ATANCamera.h.

double ATANCamera::mdOneOver2Tan [protected]

Definition at line 138 of file ATANCamera.h.

double ATANCamera::mdOnePixelDist [protected]

Definition at line 136 of file ATANCamera.h.

double ATANCamera::mdW [protected]

Definition at line 139 of file ATANCamera.h.

double ATANCamera::mdWinv [protected]

Definition at line 140 of file ATANCamera.h.

Definition at line 111 of file ATANCamera.h.

std::string ATANCamera::msName [protected]

Definition at line 167 of file ATANCamera.h.

Vector<2> ATANCamera::mvCenter [protected]

Definition at line 142 of file ATANCamera.h.

const Vector< NUMTRACKERCAMPARAMETERS > ATANCamera::mvDefaultParams = makeVector(0.392, 0.613, 0.484, 0.476, 0.967) [static]

Definition at line 107 of file ATANCamera.h.

Vector<2> ATANCamera::mvFocal [protected]

Definition at line 143 of file ATANCamera.h.

Vector<2> ATANCamera::mvImageSize [protected]

Definition at line 145 of file ATANCamera.h.

Vector<2> ATANCamera::mvImplaneBR [protected]

Definition at line 150 of file ATANCamera.h.

Vector<2> ATANCamera::mvImplaneTL [protected]

Definition at line 149 of file ATANCamera.h.

Vector<2> ATANCamera::mvInvFocal [protected]

Definition at line 144 of file ATANCamera.h.

Vector<2> ATANCamera::mvLastCam [protected]

Definition at line 125 of file ATANCamera.h.

Vector<2> ATANCamera::mvLastDistCam [protected]

Definition at line 127 of file ATANCamera.h.

Vector<2> ATANCamera::mvLastIm [protected]

Definition at line 126 of file ATANCamera.h.

Vector<2> ATANCamera::mvUFBLinearCenter [protected]

Definition at line 148 of file ATANCamera.h.

Vector<2> ATANCamera::mvUFBLinearFocal [protected]

Definition at line 146 of file ATANCamera.h.

Vector<2> ATANCamera::mvUFBLinearInvFocal [protected]

Definition at line 147 of file ATANCamera.h.


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


ptam
Author(s): Stephan Weiss, Markus Achtelik, Simon Lynen
autogenerated on Tue Jan 7 2014 11:12:22