• Sergey Sharybin's avatar
    Libmv bundle adjuster example application · 9869c3dd
    Sergey Sharybin authored
    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
    9869c3dd