Commit 27bf9e29 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1169 from ioxp:sfmFixes

parents 9b5aa2a5 363097e9
...@@ -23,6 +23,11 @@ ...@@ -23,6 +23,11 @@
#include <glog/logging.h> #include <glog/logging.h>
#if defined _MSC_VER && _MSC_VER < 1900
# define snprintf _snprintf
#endif
#define LG LOG(INFO) #define LG LOG(INFO)
#define V0 LOG(INFO) #define V0 LOG(INFO)
#define V1 LOG(INFO) #define V1 LOG(INFO)
......
...@@ -30,10 +30,6 @@ ...@@ -30,10 +30,6 @@
#include "libmv/simple_pipeline/tracks.h" #include "libmv/simple_pipeline/tracks.h"
#include "libmv/simple_pipeline/camera_intrinsics.h" #include "libmv/simple_pipeline/camera_intrinsics.h"
#ifdef _MSC_VER
# define snprintf _snprintf
#endif
namespace libmv { namespace libmv {
namespace { namespace {
......
...@@ -152,6 +152,7 @@ namespace sfm ...@@ -152,6 +152,7 @@ namespace sfm
else else
{ {
// TODO: implement me // TODO: implement me
CV_Error(Error::StsNotImplemented, "Affine reconstruction not yet implemented");
} }
} }
...@@ -180,6 +181,7 @@ namespace sfm ...@@ -180,6 +181,7 @@ namespace sfm
else else
{ {
// TODO: implement me // TODO: implement me
CV_Error(Error::StsNotImplemented, "Affine reconstruction not yet implemented");
} }
} }
...@@ -223,6 +225,7 @@ namespace sfm ...@@ -223,6 +225,7 @@ namespace sfm
else else
{ {
// TODO: implement me // TODO: implement me
CV_Error(Error::StsNotImplemented, "Affine reconstruction not yet implemented");
} }
} }
...@@ -239,7 +242,7 @@ namespace sfm ...@@ -239,7 +242,7 @@ namespace sfm
if ( is_projective ) if ( is_projective )
{ {
reconstruct_(images, Rs, Ts, K, points3d, false); reconstruct_(images, Rs, Ts, K, points3d);
} }
...@@ -248,6 +251,7 @@ namespace sfm ...@@ -248,6 +251,7 @@ namespace sfm
else else
{ {
// TODO: implement me // TODO: implement me
CV_Error(Error::StsNotImplemented, "Affine reconstruction not yet implemented");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment