SSBA-3.0

所属分类:3D图形编程
开发工具:C/C++
文件大小:3581KB
下载次数:192
上传日期:2014-04-08 14:50:49
上 传 者凡凡啊
说明:  摄影测量中很重要的光束法平差程序,是完成摄影测量课实习作业的超级武器,也能用于近景影像的3D建模等等
(Photogrammetry is a very important bundle adjustment procedure is completed internship job photogrammetry lesson super weapon, can also be used close-range images of 3D modeling, etc.)

文件列表:
SSBA-3.0 (0, 2011-12-13)
SSBA-3.0\CMakeLists.txt (1236, 2011-12-13)
SSBA-3.0\Geometry (0, 2011-12-13)
SSBA-3.0\Geometry\v3d_distortion.h (5953, 2011-03-05)
SSBA-3.0\Geometry\v3d_mviewutilities.h (14469, 2011-11-19)
SSBA-3.0\Geometry\v3d_metricbundle.cpp (11916, 2011-03-05)
SSBA-3.0\Geometry\v3d_stereobundle.cpp (2225, 2011-03-05)
SSBA-3.0\Geometry\v3d_metricbundle.h (17368, 2011-03-05)
SSBA-3.0\Geometry\v3d_stereobundle.h (6638, 2011-03-05)
SSBA-3.0\Geometry\v3d_cameramatrix.h (10424, 2011-11-19)
SSBA-3.0\Math (0, 2011-12-13)
SSBA-3.0\Math\v3d_mathutilities.h (16435, 2011-10-24)
SSBA-3.0\Math\v3d_optimization.h (25771, 2011-09-07)
SSBA-3.0\Math\v3d_nonlinlsq.cpp (28440, 2011-12-02)
SSBA-3.0\Math\v3d_optimization_lm.cpp (38602, 2011-06-09)
SSBA-3.0\Math\v3d_optimization.cpp (36398, 2011-06-09)
SSBA-3.0\Math\v3d_linear_tnt.h (74504, 2011-03-05)
SSBA-3.0\Math\v3d_blockmatrix.h (29642, 2011-08-27)
SSBA-3.0\Math\v3d_nonlinlsq.h (7462, 2011-12-02)
SSBA-3.0\Math\v3d_linear_ldlt.h (3151, 2011-07-29)
SSBA-3.0\Math\v3d_ldl_private.h (9428, 2011-06-06)
SSBA-3.0\Math\v3d_linear_lu.h (9006, 2011-03-05)
SSBA-3.0\Math\v3d_linearbase.h (49955, 2011-11-17)
SSBA-3.0\Math\v3d_linear.h (20872, 2011-08-17)
SSBA-3.0\Apps (0, 2011-12-13)
SSBA-3.0\Apps\CMakeLists.txt (955, 2011-12-05)
SSBA-3.0\Apps\bundle_varying_nonlinlsq.cpp (21107, 2011-12-05)
SSBA-3.0\Apps\bundle_common.cpp (8111, 2011-11-17)
SSBA-3.0\Apps\bundle_varying.cpp (7106, 2011-03-05)
SSBA-3.0\Config (0, 2011-12-13)
SSBA-3.0\Config\local_config.cmake (300, 2011-12-13)
SSBA-3.0\Config\v3d_macros.cmake (1417, 2011-10-24)
SSBA-3.0\Config\local_config.cmake.ubuntu_10.04_x86_64 (300, 2011-12-13)
SSBA-3.0\Config\local_config.cmake.windows_x86 (4838, 2011-03-05)
SSBA-3.0\Base (0, 2011-12-13)
SSBA-3.0\Base\v3d_vrmlio.h (13846, 2011-11-17)
SSBA-3.0\Base\v3d_exception.h (1710, 2011-03-05)
SSBA-3.0\Base\v3d_serialization.h (33638, 2011-11-17)
SSBA-3.0\COPYING.TXT (7639, 2008-08-11)
... ...

Description This is an implementation of a sparse Levenberg-Marquardt optimization procedure and several bundle adjustment modules based on it. There are three versions of bundle adjustment: 1) Pure metric adjustment. Camera poses have 6 dof and 3D points have 3 dof. 2) Common, but adjustable intrinsic and distortion parameters. This is useful, if the set of images are taken with the same camera under constant zoom settings. 3) Variable intrinsics and distortion parameters for each view. This addresses the "community photo collection" setting, where each image is captured with a different camera and/or with varying zoom setting. There are two demo applications in the Apps directory, bundle_common and bundle_varying, which correspond to item 2) and 3) above. The input data file for both applications is a text file with the following numerical values: First, the number of 3D points, views and 2D measurements: Then, the values of the intrinsic matrix [ fx skew cx ] K = [ 0 fy cy ] [ 0 0 1 ], and the distortion parameters according to the convention of the Bouget toolbox: For the bundle_varying application this is given times, one for each camera/view. Then the 3D point positions are given: Note: the point-ids need not to be exactly from 0 to M-1, any (unique) ids will do. The camera poses are given subsequently: <12 entries of the RT matrix> There is a lot of confusion how to specify the orientation of cameras. We use projection matrix notation, i.e. P = K [R|T], and a 3D point X in world coordinates is transformed into the camera coordinate system by XX=R*X+T. Finally, the 2d image measurements (given in pixels) are provided: 1 See the example in the Dataset folder. Performance This software is able to perform successful loop closing for a video sequence containing 1745 views, 37920 3D points and 627228 image measurements in about 16min on a 2.2 GHz Core 2. The footprint in memory was <700MB. Requirements Solving the augmented normal equation in the LM optimizer is done with LDL, a Cholsky like decomposition method for sparse matrices (see http://www.cise.ufl.edu/research/sparse/ldl). The appropriate column reordering is done with COLAMD (see http://www.cise.ufl.edu/research/sparse/colamd). Both packages are licensed under the GNU LGPL. This software was developed under Linux, but should compile equally well on other operating systems. -Christopher Zach (chzach@inf.ethz.ch) News for SSBA 2.0 * Added a sparse LM implementation (struct ExtSparseLevenbergOptimizer) handling several least-squares terms in the cost function. This is useful when several types of measurements (e.g. image feature locations and GPS positions) are available. See Apps/bundle_ext_LM.cpp for a simple demo. * Changed the default update rule for the damping parameter lambda to a simpler one (multiply and divide lambda by 10, depending on the cost function improvement). This seems to work better that the more complicated rule used before. * Fixed a trivial, but important bug in cost evaluation after the parameter update. /* Copyright (c) 2011 Christopher Zach, Computer Vision and Geometry Group, ETH Zurich This file is part of SSBA-2.0 (Simple Sparse Bundle Adjustment). SSBA is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SSBA is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with SSBA. If not, see . */

近期下载者

相关文件


收藏者