Functions | Variables
testCal3_S2Stereo.cpp File Reference

Unit tests for stereo-rig calibration model. More...

#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/geometry/Cal3_S2Stereo.h>
Include dependency graph for testCal3_S2Stereo.cpp:

Go to the source code of this file.

Functions

Point2 calibrate_ (const Cal3_S2Stereo &K, const Point2 &pt)
 
int main ()
 
static Point2 p (1, -2)
 
static Point2 p_uv (1320.3, 1740)
 
static Point2 p_xy (2, 3)
 
 TEST (Cal3_S2Stereo, Calibrate)
 
 TEST (Cal3_S2Stereo, CalibrateHomogeneous)
 
 TEST (Cal3_S2Stereo, Constructor)
 
 TEST (Cal3_S2Stereo, Dcalibrate)
 
 TEST (Cal3_S2Stereo, Duncalibrate)
 
 TEST (Cal3_S2Stereo, Equal)
 
 TEST (Cal3_S2Stereo, Print)
 
 TEST (Cal3_S2Stereo, Retract)
 
Point2 uncalibrate_ (const Cal3_S2Stereo &k, const Point2 &pt)
 

Variables

static Cal3_S2Stereo K (500, 500, 0.1, 640/2, 480/2, 1)
 

Detailed Description

Unit tests for stereo-rig calibration model.

Definition in file testCal3_S2Stereo.cpp.

Function Documentation

◆ calibrate_()

Point2 calibrate_ ( const Cal3_S2Stereo K,
const Point2 pt 
)

Definition at line 76 of file testCal3_S2Stereo.cpp.

◆ main()

int main ( )

Definition at line 125 of file testCal3_S2Stereo.cpp.

◆ p()

static Point2 p ( ,
2 
)
static

◆ p_uv()

static Point2 p_uv ( 1320.  3,
1740   
)
static

◆ p_xy()

static Point2 p_xy ( ,
 
)
static

◆ TEST() [1/8]

TEST ( Cal3_S2Stereo  ,
Calibrate   
)

Definition at line 45 of file testCal3_S2Stereo.cpp.

◆ TEST() [2/8]

TEST ( Cal3_S2Stereo  ,
CalibrateHomogeneous   
)

Definition at line 54 of file testCal3_S2Stereo.cpp.

◆ TEST() [3/8]

TEST ( Cal3_S2Stereo  ,
Constructor   
)

Definition at line 34 of file testCal3_S2Stereo.cpp.

◆ TEST() [4/8]

TEST ( Cal3_S2Stereo  ,
Dcalibrate   
)

Definition at line 80 of file testCal3_S2Stereo.cpp.

◆ TEST() [5/8]

TEST ( Cal3_S2Stereo  ,
Duncalibrate   
)

Definition at line 65 of file testCal3_S2Stereo.cpp.

◆ TEST() [6/8]

TEST ( Cal3_S2Stereo  ,
Equal   
)

Definition at line 93 of file testCal3_S2Stereo.cpp.

◆ TEST() [7/8]

TEST ( Cal3_S2Stereo  ,
Print   
)

Definition at line 115 of file testCal3_S2Stereo.cpp.

◆ TEST() [8/8]

TEST ( Cal3_S2Stereo  ,
Retract   
)

Definition at line 101 of file testCal3_S2Stereo.cpp.

◆ uncalibrate_()

Point2 uncalibrate_ ( const Cal3_S2Stereo k,
const Point2 pt 
)

Definition at line 61 of file testCal3_S2Stereo.cpp.

Variable Documentation

◆ K

Cal3_S2Stereo K(500, 500, 0.1, 640/2, 480/2, 1)
static


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:52