⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 sparse bundle ajustment的源码
💻 TXT
字号:
    **************************************************************            Matlab MEX interface to sba's simple drivers                  Manolis Lourakis, November 2007    **************************************************************==================== GENERAL ====================This directory contains a MEX-file interface for sba. Thisinterface allows sba's simple driver routines to be calleddirectly from matlab. Furthermore, the interface supportsarbitrary user-defined functions for computing the projectionfunction and its Jacobian; these functions can either be codedin matlab or come from a shared (dynamic) library.NOTE: This MEX-file supports the use of matlab-coded userfunctions with the intention of providing a convenientway to access sba's functions from within the matlabenviroment. However, when execution time is of primary concern,the use of matlab-coded user functions SHOULD BY ALL MEANS BE AVOIDED:Due to the inherent overhead of making repeated calls back tomatlab from the MEX-file through mexCallMATLAB() (that are neededfor evaluating the projection function and its Jacobian), thisapproach runs considerably slower (one to two orders of magnitude)compared to an equivalent approach coded entirely in C. In an attemptto remedy this, the MEX-file also provides the option of loading theuser functions from a shared (dynamic) library. In all cases,best performance is achieved by avoiding matlab altogether andimplement BA entirely in C, similarly to the example in the ../demo/directory.Tested under matlab version 6.5 (R13) under linux andversion 7.4 (R2007) under Windows==================== FILES ====================sba.c:    SBA MEX-filemkproj.m: symbolic matlab code for generating code for the projection          function and its JacobianprojRTS.m: projection function, generated with the aid of matlab's           symbolic toolboxjacprojRTS.m, jacprojRT.m, jacprojS.m: Jacobian with respect to          motion & structure, motion only and structure only, resp.          Generated with the aid of matlab's symbolic toolboxprojac.c: projection function and Jacobian, to be compiled in          a shared (dynamic) library for use by the MEX-file; see          also the corresponding comments in sba.m==================== COMPILING ==================== - On a Linux/Unix system, typing "make" will build the MEX object. - Under Windows, use the provided Makefile as a basis for creating your own makefile.==================== TESTING ====================At the command line, typematlab < eucsbademo.m

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -