diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-10-01 18:55:34 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-10-01 18:55:34 +0400 |
commit | 3169e96ae25f9b00f68e1586e97d53f718723c7e (patch) | |
tree | e92aae87f46c532049bc6625212eea19535b4744 /extern/libmv | |
parent | d8020f54baefc96ccaf7d1c5df49f8e5cd0c6e76 (diff) |
Optimization for recent changes in keyframe selection
Diffstat (limited to 'extern/libmv')
-rw-r--r-- | extern/libmv/libmv/simple_pipeline/keyframe_selection.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc b/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc index 299d48d35fd..d4ddee56fda 100644 --- a/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc +++ b/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc @@ -214,8 +214,7 @@ void SelectKeyframesBasedOnGRICAndVariance(const Tracks &tracks, &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 @@ void SelectKeyframesBasedOnGRICAndVariance(const Tracks &tracks, &F); // Convert fundamental to original pixel space. - F = N.inverse() * F * N; + F = N_inverse * F * N; // TODO(sergey): STEP 2: Discard outlier matches |