Skip to content
Snippets Groups Projects
  1. Mar 12, 2017
  2. Mar 11, 2017
    • Patrik Huber's avatar
      Changed linear shape fitting to use Eigen · 5047d78f
      Patrik Huber authored
      All matrix operations and solving the linear system is now done with Eigen matrices.
      We use colPivHouseholderQr for now to solve the linear system, which doesn't have any requirements on the matrix.
      5047d78f
  3. Mar 07, 2017
    • Patrik Huber's avatar
      Fixed storage order bug with Eigen in the shape and blendshape fitting · 4cc304d1
      Patrik Huber authored
      When switching the shape and blendshape fitting to use the new Eigen models, these matrices weren't correctly mapped to cv::Mat. Eigen uses col-major storage order by default, and OpenCV row-major - so we now convert to a row-major Eigen matrix before mapping to a cv::Mat.
      This caused the fitting to produce faulty/meaningless results since the switch to Eigen.
      The output of the linear shape and blendshape fitting functions are now again identical before and after the switch to Eigen. (after 50 iterations, the result is marginally different, most likely because of small rounding differences.)
      4cc304d1
  4. Mar 06, 2017
  5. Mar 05, 2017
  6. Mar 04, 2017
  7. Mar 03, 2017
  8. Mar 02, 2017
  9. Mar 01, 2017
  10. Feb 28, 2017
    • Patrik Huber's avatar
      Full changes to io/cvssp.hpp · 65fa0f89
      Patrik Huber authored
      For some reason, not all changes got staged in the last commit. This is the full set of changes.
      65fa0f89
    • Patrik Huber's avatar
      Changed load_scm_model to use Eigen::Matrix · 5bdb4a12
      Patrik Huber authored
      Actually, we still read into an OpenCV matrix - should change that in the future to directly read into an Eigen::Matrix.
      5bdb4a12
    • Patrik Huber's avatar
      Changed PcaModel to use Eigen::Matrix instead of cv::Mat · 470615a6
      Patrik Huber authored
      This is a big step towards being not requiring OpenCV anymore as a dependency.
      All models will have to be converted and re-downloaded.
      
      * PcaModel: Removed the RNG from the class, and added a RNG parameter to the draw_sample method
      * PcaModel: Added a get_eigenvalues() accessor that returns all eigenvalues
      * MorphableModel: Changed CEREAL_CLASS_VERSION from 0 to 1 (and added a version check to the serialize method)
      * MorphableModel: Changed texture_coordinates from cv::Vec2f to array<double, 2>
      * Added binary Eigen::Matrix serialisation for cereal
      * Changed Blendshape to Eigen::Vector as well
      * Adjusted blendshape_fitting.hpp accordingly - and it now takes most parameters by const&
      * Adjusted fitting.hpp accordingly - now also takes most parameters by const&
      * Adjusted linear_shape_fitting.hpp: It's not totally converted, still using cv::Mat for the core algorithm
      470615a6
    • Patrik Huber's avatar
      Corrected PcaModel documentation · 29817961
      Patrik Huber authored
      It hasn't had a method to return a Mesh in quite a while I think.
      29817961
    • Patrik Huber's avatar
      Removed =default c'tor workaround for VS2015 in PcaModel · d0d9c914
      Patrik Huber authored
      Hopefully this is not an issue anymore.
      d0d9c914
    • Patrik Huber's avatar
      Corrected Landmark documentation · 3f0ffc18
      Patrik Huber authored
      3f0ffc18
  11. Feb 19, 2017
  12. Feb 10, 2017
  13. Jan 28, 2017
  14. Jan 07, 2017
  15. Jan 06, 2017
Loading