Unit tests for Cal3Unified 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/Cal3Unified.h>
#include <gtsam/inference/Key.h>
#include <gtsam/nonlinear/Values.h>
Go to the source code of this file.
Functions | |
Point2 | calibrate_ (const Cal3Unified &k, const Point2 &pt) |
int | main () |
static Point2 | p (0.5, 0.7) |
TEST (Cal3Unified, Calibrate) | |
TEST (Cal3Unified, Dcalibrate) | |
TEST (Cal3Unified, DerivedValue) | |
TEST (Cal3Unified, Duncalibrate1) | |
TEST (Cal3Unified, Duncalibrate2) | |
TEST (Cal3Unified, Equal) | |
TEST (Cal3Unified, Print) | |
TEST (Cal3Unified, Retract) | |
TEST (Cal3Unified, SpaceNplane) | |
TEST (Cal3Unified, Uncalibrate) | |
Point2 | uncalibrate_ (const Cal3Unified &k, const Point2 &pt) |
Variables | |
static Cal3Unified | K (100, 105, 0.0, 320, 240, 1e-3, 2.0 *1e-3, 3.0 *1e-3, 4.0 *1e-3, 0.1) |
Unit tests for Cal3Unified calibration model.
Definition in file testCal3Unified.cpp.
Point2 calibrate_ | ( | const Cal3Unified & | k, |
const Point2 & | pt | ||
) |
Definition at line 84 of file testCal3Unified.cpp.
int main | ( | ) |
Definition at line 143 of file testCal3Unified.cpp.
|
static |
TEST | ( | Cal3Unified | , |
Calibrate | |||
) |
Definition at line 58 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
Dcalibrate | |||
) |
Definition at line 89 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
DerivedValue | |||
) |
Definition at line 119 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
Duncalibrate1 | |||
) |
Definition at line 69 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
Duncalibrate2 | |||
) |
Definition at line 77 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
Equal | |||
) |
Definition at line 100 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
) |
Definition at line 131 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
Retract | |||
) |
Definition at line 103 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
SpaceNplane | |||
) |
Definition at line 51 of file testCal3Unified.cpp.
TEST | ( | Cal3Unified | , |
Uncalibrate | |||
) |
Definition at line 44 of file testCal3Unified.cpp.
Point2 uncalibrate_ | ( | const Cal3Unified & | k, |
const Point2 & | pt | ||
) |
Definition at line 64 of file testCal3Unified.cpp.
|
static |