Skip to content

0.2.1

Latest

Choose a tag to compare

@lcmrl lcmrl released this 30 Nov 10:54

New features

  • Local features: --detector orb (default) | sift | aliked | xfeat | superpoint.
    ALIKED, XFeat and SuperPoint (open-source MIT weights) run
    in C++ with ONNX Runtime, on the GPU when available, otherwise on the CPU.
    Their output matches the original PyTorch code to about 1e-5.
    Models are exported once with c++/models/export_models.sh.
  • Lens distortion: COLMAP OPENCV camera model ([fx, fy, cx, cy, k1, k2, p1, p2])
    used in triangulation, PnP and the essential matrix.
  • Optional geometric check (--geometric-check, off by default): stereo and
    mono matches verified with a RANSAC essential matrix (OpenCV, with the
    camera model) before triangulation.
  • API: StepResult::points3d (stereo 3D points of each frame) and
    MonoOdometry::setLastPose (replace the last pose, e.g. by a motion model).

Changes

  • src/orb_matching.cpp renamed to src/matching.cpp; the executable is now
    "matching".
  • ONNX Runtime is optional at build time: without it, only ORB and SIFT
    are available.