1 // This file is part of OpenMVG, an Open Multiple View Geometry C++ library.
2 
3 // Copyright (c) 2015 Romain Janvier <romain.janvier~AT~univ-orleans.fr>
4 
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #include "openMVG/cameras/Camera_Pinhole_Fisheye.hpp"
10 using namespace openMVG;
11 using namespace openMVG::cameras;
12 
13 #include "testing/testing.h"
14 #include "openMVG/cameras/Camera_Unit_Test.inl"
15 
TEST(Cameras_Fisheye,disto_undisto_Fisheye)16 TEST(Cameras_Fisheye, disto_undisto_Fisheye) {
17 
18   const Pinhole_Intrinsic_Fisheye cam(1000, 1000, 1000, 500, 500,
19                                       -0.054, 0.014, 0.006, 0.011); // K1, K2, K3, K4
20 
21   Test_camera(cam);
22 }
23 
24 /* ************************************************************************* */
main()25 int main() { TestResult tr; return TestRegistry::runAllTests(tr);}
26 /* ************************************************************************* */
27