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>
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, Constructor) | |
| TEST (Cal3_S2Stereo, Calibrate) | |
| TEST (Cal3_S2Stereo, CalibrateHomogeneous) | |
| TEST (Cal3_S2Stereo, Duncalibrate) | |
| TEST (Cal3_S2Stereo, Dcalibrate) | |
| TEST (Cal3_S2Stereo, Equal) | |
| TEST (Cal3_S2Stereo, Retract) | |
| TEST (Cal3_S2Stereo, Print) | |
| Point2 | uncalibrate_ (const Cal3_S2Stereo &k, const Point2 &pt) |
Variables | |
| static Cal3_S2Stereo | K (500, 500, 0.1, 640/2, 480/2, 1) |
Unit tests for stereo-rig calibration model.
Definition in file testCal3_S2Stereo.cpp.
| Point2 calibrate_ | ( | const Cal3_S2Stereo & | K, |
| const Point2 & | pt | ||
| ) |
Definition at line 76 of file testCal3_S2Stereo.cpp.
| int main | ( | void | ) |
Definition at line 125 of file testCal3_S2Stereo.cpp.
|
static |
|
static |
|
static |
| TEST | ( | Cal3_S2Stereo | , |
| Constructor | |||
| ) |
Definition at line 34 of file testCal3_S2Stereo.cpp.
| TEST | ( | Cal3_S2Stereo | , |
| Calibrate | |||
| ) |
Definition at line 45 of file testCal3_S2Stereo.cpp.
| TEST | ( | Cal3_S2Stereo | , |
| CalibrateHomogeneous | |||
| ) |
Definition at line 54 of file testCal3_S2Stereo.cpp.
| TEST | ( | Cal3_S2Stereo | , |
| Duncalibrate | |||
| ) |
Definition at line 65 of file testCal3_S2Stereo.cpp.
| TEST | ( | Cal3_S2Stereo | , |
| Dcalibrate | |||
| ) |
Definition at line 80 of file testCal3_S2Stereo.cpp.
| TEST | ( | Cal3_S2Stereo | , |
| Equal | |||
| ) |
Definition at line 93 of file testCal3_S2Stereo.cpp.
| TEST | ( | Cal3_S2Stereo | , |
| Retract | |||
| ) |
Definition at line 101 of file testCal3_S2Stereo.cpp.
| TEST | ( | Cal3_S2Stereo | , |
| ) |
Definition at line 115 of file testCal3_S2Stereo.cpp.
| Point2 uncalibrate_ | ( | const Cal3_S2Stereo & | k, |
| const Point2 & | pt | ||
| ) |
Definition at line 61 of file testCal3_S2Stereo.cpp.
|
static |