Giter VIP home page Giter VIP logo

Comments (3)

lcmrl avatar lcmrl commented on July 1, 2024

Hi, this is a feature that would be nice to add. COLMAP_SLAM calls the COLMAP API, but currently in the official COLMAP the equirectangular camera model is not implemented yet. I think this would help colmap/colmap#6. Have you seen if this https://github.com/daleydeng/colmap/tree/cvai works for a regular SfM with equirectangular model work? If yes, it should be quick to include it in COLMAP_SLAM

from colmap_slam.

zwl995 avatar zwl995 commented on July 1, 2024

Yes, I have to see , the effect is better is not so good, https://github.com/stella-cv/stella_vslam code offer equirectangular camera model SLAM system, but it use the ORB, the outdoor scene will be lost, the cumulative error is bigger

from colmap_slam.

lcmrl avatar lcmrl commented on July 1, 2024

Hi, I've not tried yet, but If you have the binaries from https://github.com/daleydeng/colmap/tree/cvai you should able to run it with colmap-slam. In config.ini :

  1. change COLMAP_EXE_DIR = C:\...\COLMAP\COLMAP-3.8-windows-cuda to point to the binaries
  2. change camera calibration
[CALIBRATION]
# OPENCV camera model (see COLMAP doc)
# {
#    "0": "(SIMPLE_PINHOLE, 3)",
#    "1": "(PINHOLE, 4)",
#    "2": "(SIMPLE_RADIAL, 4)",
#    "3": "(RADIAL, 5)",
#    "4": "(OPENCV, 8)",
#    "5": "(OPENCV_FISHEYE, 8)",
#    "6": "(SIMPLE_RAFULL_OPENCVDIAL, 12)",
#    "7": "(FOV, 5)",
#    "8": "(SIMPLE_RADIAL_FISHEYE, 4)",
#    "9": "(RADIAL_FISHEYE, 5)",
#    "10": "(THIN_PRISM_FISHEYE, 12)"
# }
N_CAMERAS = 1
CAM0 = 9,2448,2048,774.076,1273.05,1011.24,-0.06044,0.0025

The first number is the camera model, you have to check the right number from the repository

from colmap_slam.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.