Comments (7)
I am not sure I understand the question. If the 3D points are in "camera coordinate space" then the pose of the camera is by definition identity (I_{4x4}) so there's nothing to estimate.
from pycolmap.
@mihaidusmanu, For example in COLMAP, 3D points are given in world space coordinates. Camera poses are in camera space. What I mean is that if I multiply the 3D world points with a COLMAP camera pose, then I will get a list of transformed 3D points in camera space. Then in that space if I use the 2D - 3D (i.e the transformed ones) and run the pycolmap.absolute_pose_estimation()
that should return the identity matrix ? (I was mistaken to think that I will get the camera pose here)
from pycolmap.
Camera coordinate space is defined as the space where your camera is axis-aligned and placed at the origin. So yes, you will get identity if you try to estimate a pose in its own coordinate frame.
If there are multiple cameras in the scene and you transform the points to one of them, e.g., C_1 and try to estimate the pose for another camera C_2, then you will get the relative pose between them.
from pycolmap.
@mihaidusmanu, Ok this helps a lot! Especially your second point. If I got it right, If I transform 3D points in two different camera spaces, C1, and C2, then running pycolmap.absolute_pose_estimation()
, between 2D_c1 - 3D_c1 should give me the I
matrix, but 2D_c1 - 3D_c2 (i.e 2D points from camera 1 to 3D points from camera 2 space) should return the relative pose between C1 and C2 ? (Just getting my head around coordinate systems)
from pycolmap.
Yes, that's correct.
from pycolmap.
Thanks!
from pycolmap.
@mihaidusmanu I was just wondering what if the points are not in camera space but just in world coordinates. And I follow the same ? In that case I won't get a relative pose as a result but just an arbitrary camera world pose ?
from pycolmap.
Related Issues (20)
- Is the model_aligner feature from COLMAP exposed in pycolmap? HOT 5
- pybind unable to convert pycolmap.Reconstruction.points3D HOT 4
- master branch doesn't have setup.py file HOT 8
- confusion regarding image idx in fused.ply.vis HOT 2
- Error when building from source HOT 2
- bug while install pycolmap HOT 6
- Is there an Easy Debugging Method for COLMAP within Pycolmap? HOT 2
- `'pycolmap.Image' object has no attribute 'rotmat'` HOT 3
- AttributeError: module 'pycolmap' has no attribute 'Database' HOT 2
- Trying to install pycolmap either via the pip or via source not working HOT 4
- camera.img_from_cam not working HOT 1
- May I ask about the changes in the new version? HOT 1
- AttributeError: module 'pycolmap' has no attribute 'patch_match_stereo' HOT 2
- Type hints for python? HOT 4
- Are Point3D and Image 0 indexed? HOT 2
- Error when importing pycolmap HOT 5
- How to set up scaling sparse models to realistic sizes? HOT 1
- When should a class be bound with shared_ptr as its holder? HOT 2
- pycolmap build from source error HOT 1
- estimate_triangulation result not equal to incremental_mapper result HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycolmap.