[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60490] trunk/blender/extern/libmv/libmv/ simple_pipeline/keyframe_selection.cc: Optimization for recent changes in keyframe selection

Sergey Sharybin sergey.vfx at gmail.com
Tue Oct 1 16:55:34 CEST 2013


Revision: 60490
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60490
Author:   nazgul
Date:     2013-10-01 14:55:34 +0000 (Tue, 01 Oct 2013)
Log Message:
-----------
Optimization for recent changes in keyframe selection

Modified Paths:
--------------
    trunk/blender/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc

Modified: trunk/blender/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc
===================================================================
--- trunk/blender/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc	2013-10-01 14:52:56 UTC (rev 60489)
+++ trunk/blender/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc	2013-10-01 14:55:34 UTC (rev 60490)
@@ -214,8 +214,7 @@
                                          &H);
 
       // Convert homography to original pixel space.
-      Mat3 N = IntrinsicsNormalizationMatrix(intrinsics);
-      H = N.inverse() * H * N;
+      H = N_inverse * H * N;
 
       FundamentalEstimationOptions fundamental_estimation_options;
       FundamentalFromCorrespondencesEuc(x1,
@@ -224,7 +223,7 @@
                                         &F);
 
       // Convert fundamental to original pixel space.
-      F = N.inverse() * F * N;
+      F = N_inverse * F * N;
 
       // TODO(sergey): STEP 2: Discard outlier matches
 




More information about the Bf-blender-cvs mailing list