Giter Site home page Giter Site logo

Comments (7)

mihaidusmanu avatar mihaidusmanu commented on July 21, 2024

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.

alexs7 avatar alexs7 commented on July 21, 2024

@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.

mihaidusmanu avatar mihaidusmanu commented on July 21, 2024

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.

alexs7 avatar alexs7 commented on July 21, 2024

@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.

mihaidusmanu avatar mihaidusmanu commented on July 21, 2024

Yes, that's correct.

from pycolmap.

alexs7 avatar alexs7 commented on July 21, 2024

Thanks!

from pycolmap.

alexs7 avatar alexs7 commented on July 21, 2024

@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)

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.