I modified the colmap,when it reconstructs from known pose ,only let it optimize rotation ,fixing position!

Mapping-base-lidar-pose-or-vslam-pose

I simply modified the colmap,when it reconstructs from known pose ,only let it optimize rotation ,fixing position!
Why do I do this, because when reconstructing from a known pose, if you use the rtk position, there is no need to optimize the position during BA fine-tuning. You can only fine-tune the rotation(3dof +3Dpoints optimize), but this is a very loose coupling, if you want to use rtk to constrain BA, you can look at openmvg ---"sfm_data_BA_ceres.cpp". You can implement it in colmap immediately!!!!!!!

Reconstructing from a known pose reference : https://colmap.github.io/faq.html?highlight=known%20pose#reconstruct-sparse-dense-model-from-known-camera-poses

first step

(1) base/cost_functions.h replace your colmap code

(2) controllers/bundle_adjustment.cc replace your colmap code

(3) optim/bundle_adjustment.cc replace your colmap code

second step

example folder

..........model

................images.txt // your piror pose

................cameras.txt

................points3D.txt //empty file

..........trans.py // trans colmap tvec to camera center and trans camera center to colmap tvec(-R.Ttvec=C and tvec=-RC)

..........run 3D_from_prior_pose.sh

Owner
李城(大橙子)
3D Reconstruction and bundle adjustment , Photogrammetry Photogrammetry master(2016.09-2019.07)
李城(大橙子)
Similar Resources

imGuIZMO.quat is a ImGui widget: like a trackball it provides a way to rotate models, lights, or objects with mouse, and graphically visualize their position in space, also around any single axis (Shift/Ctrl/Alt/Super)

imGuIZMO.quat is a ImGui widget: like a trackball it provides a way to rotate models, lights, or objects with mouse, and graphically visualize their position in space, also around any single axis (Shift/Ctrl/Alt/Super)

imGuIZMO.quat v3.0 imGuIZMO.quat is a ImGui widget: like a trackball it provides a way to rotate models, lights, or objects with mouse, and graphicall

Dec 2, 2022

Plot airfield from a file containing the list of airfield of Germany and their position (latitude/longitude)

Plot airfield from a file containing the list of airfield of Germany and their position (latitude/longitude)

Plot aerodromes from a file containing the list of aerodromes of Germany and their position (latitude/longitude)

Feb 6, 2022

A CUDA-accelerated cloth simulation engine based on Extended Position Based Dynamics (XPBD).

A CUDA-accelerated cloth simulation engine based on Extended Position Based Dynamics (XPBD).

Velvet Velvet is a CUDA-accelerated cloth simulation engine based on Extended Position Based Dynamics (XPBD). Why another cloth simulator? There are a

Nov 21, 2022

Let any device connect to HomeKit.

homekit-bridge Introduction A HomeKit gateway specially designed for embedded devices, it allows you to connect non-HomeKit devices to HomeKit through

Nov 9, 2022

Let's make a text editor like in the 70's

Let's make a text editor like in the 70's

baracle Let's make a text editor like in the 70's Installation Arch Linux and derivatives (AUR) Stable package: baracle Use an AUR helper or git clone

Feb 27, 2022

Crafter-C- - This might be a game, let's find out

Crafter Status update: This was a nightmare so I'm not going to finish it, but feel free to use the code This is Crafter, I'm not sure if I'll finish

Dec 23, 2021

Let's upgrade cheap off-the-shelf robotic mowers to modern, smart RTK GPS based lawn mowing robots!

Let's upgrade cheap off-the-shelf robotic mowers to modern, smart RTK GPS based lawn mowing robots!

OpenMower Join the Discord server for OpenMower discussion: HERE About the Project ⚠️ DISCLAIMER: IF YOU ARE NOT 100% SURE WHAT YOU ARE DOING, PLEASE

Dec 2, 2022

Bungie's Oni modified so it compiles with Microsoft Visual Studio 2019.

OniFoxed What's this? This is a modified variant of the recently leaked Oni source code so that it compiles under Microsoft Visual Studio 2019 with so

Nov 28, 2022

T-HYDRA is a modified version of original thc-hydra for better use inside Termux .

 T-HYDRA is a modified version of original thc-hydra for better use inside Termux .

T-HYDRA is a modified version of original thc-hydra for better use inside Termux . Earlier , hydra pakage had been with Termux repositories. Then afte

Nov 25, 2022
Arduino Fridge Alarm: Let it go! Let it go!

Arduino Fridge Alarm: Let it go! Let it go! It's just a mess! Water on the floor, food thawing away and all the wasted time to clean this chaos! You l

Nov 2, 2021
Optimize small uxntal programs via brute-force

Uxnbruteforce A small C program to optimize little pieces of uxntal code. It is a work in progress, a little bit messy for the moment :) I had the ide

Jan 9, 2022
Shared to msvcrt.dll or ucrtbase.dll and optimize the C/C++ application file size.
Shared to msvcrt.dll or ucrtbase.dll and optimize the C/C++ application file size.

VC-LTL - An elegant way to compile lighter binaries. 简体中文 I would like to turn into a stone bridge, go through 500 years of wind, 500 years of Sun, ra

Nov 29, 2022
DG-Mesh-Optimization - Discontinuous Galerkin (DG) solver coupled with a Quasi-Newton line-search algorithm to optimize the DG mesh.
DG-Mesh-Optimization - Discontinuous Galerkin (DG) solver coupled with a Quasi-Newton line-search algorithm to optimize the DG mesh.

Date written: December 2020 This project was pursued as my final project for MECH 579 (Multidisciplinary Design Optimization) at McGill University, ta

Sep 18, 2022
pluggable tool to convert an unrolled TritonAST to LLVM-IR, optimize it and get back to TritonAST

it is fork from https://github.com/fvrmatteo/TritonASTLLVMIRTranslator *WARNINGS: tested only linux(ubuntu 20.04) and only llvm and clang version 10*

Jun 10, 2022
Detects the rotation of scanned documents.
Detects the rotation of scanned documents.

Angle rotation detection on scanned documents Detects the rotation of scanned documents. Uses libleptonica Designed for embedding in systems using tes

Nov 8, 2022
Building and Executing Position Independent Shellcode from Object Files in Memory

PIC-Privileges Building and Executing Position Independent Shellcode from Object Files in Memory. This is a pingback to the blogpost I wrote at https:

Nov 1, 2022
PUBG ESP Hack for Emulator using C++ code. Player Position, Bones, Loots, Weapons, Vehicles, Boxes ... etc.
PUBG ESP Hack for Emulator using C++ code. Player Position, Bones, Loots, Weapons, Vehicles, Boxes ... etc.

PUBG 1.7 ESP Hack for Emulator (C++ Source Code) PUBG ESP Hack for Emulator using C++ code. Player Position, Bones, Loots, Weapons, Vehicles, Boxes ..

Nov 1, 2022
Convenient, high-performance RGB color and position control for console output
Convenient, high-performance RGB color and position control for console output

Oof (omnipotent output friend) It's common for C++ programs to write output to the console. But consoles are far more capable than what they are usual

Nov 26, 2022
Scroll pos - Provides some additional functions to ScrollController to define item position relative to the screen.
Scroll pos - Provides some additional functions to ScrollController to define item position relative to the screen.

Scroll Position Provides some additional functions to ScrollController to define item position relative to the screen. A live version is available her

Nov 13, 2022