diff --git a/limap/fitting/line3d_estimator.h b/limap/fitting/line3d_estimator.h index 70b708f8..43d2a477 100644 --- a/limap/fitting/line3d_estimator.h +++ b/limap/fitting/line3d_estimator.h @@ -13,7 +13,7 @@ namespace fitting { // Implements a simple solver that estimates a 3D line from two data points. // Reference link: -// https://github.com/B1ueber2y/RansacLib/blob/master/examples/line_estimator.h +// https://github.com/tsattler/RansacLib/blob/master/examples/line_estimator.h class Line3dEstimator { public: Line3dEstimator(const Eigen::Matrix3Xd &data); diff --git a/limap/runners/functions.py b/limap/runners/functions.py index d5795ab0..14852198 100644 --- a/limap/runners/functions.py +++ b/limap/runners/functions.py @@ -227,7 +227,6 @@ def compute_2d_segs(cfg, imagecols, compute_descinfo=True): cfg["line2d"]["detector"]["method"], imagecols.NumImages() ) ) - import limap.line2d if not imagecols.IsUndistorted(): logging.warning("The input images are distorted!", stacklevel=2) diff --git a/limap/util/CMakeLists.txt b/limap/util/CMakeLists.txt index 66e52096..3613e1c4 100644 --- a/limap/util/CMakeLists.txt +++ b/limap/util/CMakeLists.txt @@ -3,8 +3,6 @@ set(FOLDER_NAME "util") LIMAP_ADD_SOURCES( types.h simple_logger.h simple_logger.cc - - nanoflann.hpp kd_tree.h kd_tree.cpp ) diff --git a/limap/util/kd_tree.cpp b/limap/util/kd_tree.cpp index 70fd9897..2db139fb 100644 --- a/limap/util/kd_tree.cpp +++ b/limap/util/kd_tree.cpp @@ -5,7 +5,6 @@ #include #include "limap/util/kd_tree.h" -#include "limap/util/nanoflann.hpp" namespace limap { diff --git a/limap/util/kd_tree.h b/limap/util/kd_tree.h index 53d918e2..47b7d245 100644 --- a/limap/util/kd_tree.h +++ b/limap/util/kd_tree.h @@ -5,8 +5,8 @@ #include #include -#include "limap/util/nanoflann.hpp" #include +#include using namespace nanoflann; diff --git a/limap/util/nanoflann.hpp b/third-party/nanoflann.hpp similarity index 100% rename from limap/util/nanoflann.hpp rename to third-party/nanoflann.hpp