Coder Social home page Coder Social logo

Comments (4)

ruoshiliu avatar ruoshiliu commented on July 19, 2024

Hi @ZexinHe , fov is the same thing as camera_angle_x in NeRF's blender dataset, which is 49.1 degree or 0.857 rad as stated in the appendix section of the paper. I might be wrong but I think rotation is not part of the camera intrinsics for NeRF. It describes the rotation angle between two consecutive viewpoints.

from zero123.

ZexinHe avatar ZexinHe commented on July 19, 2024

Thanks for your timely feedback! I've found the details now. And you are right about rotation, the information is contained in the sequence of transformation matrices.

from zero123.

yjcaimeow avatar yjcaimeow commented on July 19, 2024

Hi @ZexinHe , So,I want to make sure whether right using the following equations to obtain the intrinsic K for objaverse dataset ?

H, W = imgs[0].shape[:2]
camera_angle_x = float(meta['camera_angle_x'])
f = 1 / np.tan(camera_angle_x / 2) * (W / 2)

Best,
Ying

from zero123.

ZexinHe avatar ZexinHe commented on July 19, 2024

Hi @yjcaimeow ,

I think you are correct. The above code obtains the focus, which leads to the intrinsic K matrix.
K=[[f,0,W/2], [0,f,H/2], [0,0,1]]

Bests,
Zexin

from zero123.

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.