Giter Site home page Giter Site logo

About projection. about nice-slam HOT 5 CLOSED

cvg avatar cvg commented on May 19, 2024
About projection.

from nice-slam.

Comments (5)

Zzh2000 avatar Zzh2000 commented on May 19, 2024

We follow the nerf-pytorch code convention and define the z-axis as "front to back".

from nice-slam.

calmelo avatar calmelo commented on May 19, 2024

We follow the nerf-pytorch code convention and define the z-axis as "front to back".

Why not cam_cord[:, 2] *= -1 but cam_cord[:, 0] *= -1?

from nice-slam.

calmelo avatar calmelo commented on May 19, 2024

We follow the nerf-pytorch code convention and define the z-axis as "front to back".

cam_cord[:, 0] *= -1是为了让计算得到的相机坐标的x, y, z在数据集的坐标系中均取反值吗?为什么不把cam_cord[:, 1] *= -1, cam_cord[:, 2] *= -1, 然后将计算得到的相机坐标转到数据集的坐标系中呢?
取反值之后, 因为u=x/z, v=y/z, 所以得到的uv最后就在数据集图片的坐标系内,然后z取反转到数据集图片坐标系中。
不知道我的理解正不正确,恳请大佬赐教!

from nice-slam.

h8c2 avatar h8c2 commented on May 19, 2024

I am also confused about c2w[:3, 1] *= -1 c2w[:3, 2] *= -1 in load_poses in datasets.py. What does it mean to multiply a column of positions by negative one?

from nice-slam.

h8c2 avatar h8c2 commented on May 19, 2024

我的理解是在代码相机(局部)坐标系下表达的坐标都是右上后的(正常相机坐标系为右下前,这里在load_pose就取反了),但是内参矩阵是右下前的,要变到像素坐标系就将第一列乘以负一,得到正常的像素坐标系取值范围

from nice-slam.

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.