Unit tests for Cal3DS2 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/Cal3DS2.h>
Go to the source code of this file.
Functions | |
Point2 | calibrate_ (const Cal3DS2 &k, const Point2 &pt) |
int | main () |
static Point2 | p (2, 3) |
TEST (Cal3DS2, Uncalibrate) | |
TEST (Cal3DS2, Calibrate) | |
TEST (Cal3DS2, Duncalibrate1) | |
TEST (Cal3DS2, Duncalibrate2) | |
TEST (Cal3DS2, Dcalibrate) | |
TEST (Cal3DS2, Equal) | |
TEST (Cal3DS2, Retract) | |
TEST (Cal3DS2, Print) | |
Point2 | uncalibrate_ (const Cal3DS2 &k, const Point2 &pt) |
Variables | |
static Cal3DS2 | K (500, 100, 0.1, 320, 240, 1e-3, 2.0 *1e-3, 3.0 *1e-3, 4.0 *1e-3) |
Unit tests for Cal3DS2 calibration model.
Definition in file testCal3DS2.cpp.
Definition at line 77 of file testCal3DS2.cpp.
int main | ( | void | ) |
Definition at line 123 of file testCal3DS2.cpp.
|
static |
TEST | ( | Cal3DS2 | , |
Uncalibrate | |||
) |
Definition at line 33 of file testCal3DS2.cpp.
TEST | ( | Cal3DS2 | , |
Calibrate | |||
) |
Definition at line 46 of file testCal3DS2.cpp.
TEST | ( | Cal3DS2 | , |
Duncalibrate1 | |||
) |
Definition at line 58 of file testCal3DS2.cpp.
TEST | ( | Cal3DS2 | , |
Duncalibrate2 | |||
) |
Definition at line 68 of file testCal3DS2.cpp.
TEST | ( | Cal3DS2 | , |
Dcalibrate | |||
) |
Definition at line 82 of file testCal3DS2.cpp.
TEST | ( | Cal3DS2 | , |
Equal | |||
) |
Definition at line 94 of file testCal3DS2.cpp.
TEST | ( | Cal3DS2 | , |
Retract | |||
) |
Definition at line 97 of file testCal3DS2.cpp.
TEST | ( | Cal3DS2 | , |
) |
Definition at line 112 of file testCal3DS2.cpp.
Definition at line 53 of file testCal3DS2.cpp.
|
static |