Code Monkey home page Code Monkey logo

Comments (7)

walsvid avatar walsvid commented on June 14, 2024 2

which program do you use to get that data in the same way the cameras.txt uses it.
(if the image is abstracted from a jpeg and not from an already 3D drawing (the plane))

Kind regards,

Love the project!

Hi @quintendewilde , for the general photos taken, the key input here is the camera extrinsics, specifically the rotation matrix and the translation vector of the camera. The format cameras.txt is not mandatory, as we can see from our code that the most critical parameters are the camera rotation and translation, while some other data are not used. It may be necessary to obtain these parameters with the help of the camera pose estimation method.

from pixel2meshplusplus.

walsvid avatar walsvid commented on June 14, 2024 1

@topinfrassi01 Yes, your understanding is correct.

from pixel2meshplusplus.

walsvid avatar walsvid commented on June 14, 2024

The meaning of each lines in file rendering_metadata.txt: from the left, they are azimuth, elevation, in-plane rotation, distance, the field of view. https://en.wikipedia.org/wiki/Horizontal_coordinate_system

from pixel2meshplusplus.

quintendewilde avatar quintendewilde commented on June 14, 2024

which program do you use to get that data in the same way the cameras.txt uses it.
(if the image is abstracted from a jpeg and not from an already 3D drawing (the plane))

Kind regards,

Love the project!

from pixel2meshplusplus.

topinfrassi01 avatar topinfrassi01 commented on June 14, 2024

@walsvid Sorry to come back to thi issue, but I do have a question regarding the camera poses and I can't seem to figure out an answer.

I'd like to know to what "origin" are these camera extrinsics refering to? For example, if I was to have extrinsics of 0 rotation, 0 translation, from where would I see the object and how is this dealt with when the mesh is first generated in the coarse shape generation?

I hope my question is clear, otherwise I will develop it more. Thank you a lot for your time.

from pixel2meshplusplus.

walsvid avatar walsvid commented on June 14, 2024

Hi @topinfrassi01 , we assume the 0 rotation is the canonical view of the origin mesh in ShapeNet dataset, e.g. car head towards the camera. 0 translation will put the camera at the center of the world coordinates.

The RT mentioned above is an absolute value. Since we choose one of the images as the reference image, the effective code is relative RT. For convenience, I think you can choose the extrinsics of one of the images as 0.

from pixel2meshplusplus.

topinfrassi01 avatar topinfrassi01 commented on June 14, 2024

@walsvid So if I understand correctly, the extrinsic parameters are relative to an arbitrary pose and it should work as long as the relative rotation/translation are always coherent regarding this arbitrary pose?

from pixel2meshplusplus.

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.