mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
9869c3dd44
Add example application which is based on bundle adjustment code from Libmv library, which is heavily used in Blender. Apart from bundle adjustment code this commit also contains real-life optimization problems from VFX pipeline. This files are created from production files of Tears of Steel movie. New code is placed to examples, and could be used either as an example implementation of BA or for timing investigation of problems appearing in VFX. Problems for this application are placed to data/libmv-ba-problems. Usage: ./libmv_bundle_adjuster --input=/path/to/problem_file.bin There's also optional flag --refine_intrinsics which declares explicitly whether intrinscis shall be refined or not. If this flag is not passed, refinement will happen for problems stored in image space. Structure of problem files is described in header comment of libmv_bundle_adjuster.cc. Change-Id: I51202848c75dcd7612b707609e5ff3708e01b625
The *.foe files contain coefficients provided by Stefan Roth, who agreed to release them under a BSD license. See his home page: http://www.gris.informatik.tu-darmstadt.de/~sroth/research/foe/index.html The coefficients in the *.foe files have been obtained by extracting the matrices from the MATLAB files and performing matrix multiplication. The format of the files is ASCII: <s = filter size> <K = number of filters> <alpha_1> ... <alpha_K> <f_1,1> ... <f_1,s^2> ... <f_K,1> ... <f_K,s^2>