diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-26 22:25:49 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-26 22:25:49 +0400 |
commit | d2f61b36f924b7edba626bf612bc6b8195b8531a (patch) | |
tree | 11c232a7c02113ca3776594697aaef1a086216ba | |
parent | 2e89f6350d4b28e0b930e4bb9aceda190944019e (diff) |
Revert 56319, misunderstood API
This was completely skipping BA step when point
goes behind the camera.
-rw-r--r-- | extern/libmv/libmv/simple_pipeline/bundle.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/extern/libmv/libmv/simple_pipeline/bundle.cc b/extern/libmv/libmv/simple_pipeline/bundle.cc index 0aca8790587..f068e050b48 100644 --- a/extern/libmv/libmv/simple_pipeline/bundle.cc +++ b/extern/libmv/libmv/simple_pipeline/bundle.cc @@ -83,10 +83,6 @@ struct OpenCVReprojectionError { x[1] += R_t[4]; x[2] += R_t[5]; - // Prevent bundles from being moved behind the camera. - if (x[2] < T(0)) - return false; - // Compute normalized coordinates: x /= x[2]. T xn = x[0] / x[2]; T yn = x[1] / x[2]; |