Giter Site home page Giter Site logo

Camera viepoint about panoptic-reconstruction HOT 2 CLOSED

udrs avatar udrs commented on June 9, 2024
Camera viepoint

from panoptic-reconstruction.

Comments (2)

xheon avatar xheon commented on June 9, 2024

The sample has ID 596b8941-3eb6-4f49-a7b1-8881118c07f2/0014, i.e refers to scene 596b8941-3eb6-4f49-a7b1-8881118c07f2
You can find all the camera poses in the provided "front3d-camposes.zip".

Since the reconstruction happens in camera-space the view point does not change. In order to move the reconstruction from grid space to camera space you can use:

# define camera2frustum
camera2grid = torch.tensor([[33.3333, 0.0000, 0.0000, 114.7484],
                                [0.0000, 33.3333, 0.0000, 85.8808],
                                [0.0000, 0.0000, 33.3333, -13.3333],
                                [0.0000, 0.0000, 0.0000, 1.0000]])
 # get inverse of camera2frustum
 grid2camera = torch.inverse(camera2grid)

(obtained from lib/structures/frustum.py - compute_camera2frustum_transform() )

Hope that helps.

from panoptic-reconstruction.

udrs avatar udrs commented on June 9, 2024

Thank you for your great project and reply!

from panoptic-reconstruction.

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.