Giter Site home page Giter Site logo

Comments (4)

hnsywangxin avatar hnsywangxin commented on June 14, 2024

I guess these 12 columns constitute the transformation matrix(3x4) which is from camera to velodyne. The first column corresponds to the index (0,0), and the last column corresponds to the index (2,3).
Is this the case?
Thank you !

from point_labeler.

jbehley avatar jbehley commented on June 14, 2024

Hello @hnsywangxin,

the format corresponds to the same format as the KITTI Odometry format (see also the devkit of the KITTI Odometry Benchmark for further details) , i.e., it's the 3x4 part of a 4x4 homogeneous transformation. The order is (0,0) (0,1) (0,2) (0,3) (1,0) (1,1) ...

Note that in the original KITTI all poses are given in the reference frame of a camera and therefore one has to transform the poses. (therefore the calib.txt is needed)

If you directly want to use the pose of the sensor you can simply set all poses to identity in your calib.txt.

from point_labeler.

jbehley avatar jbehley commented on June 14, 2024

PS: Something like this here:

calib_file = open(os.path.join(output_folder, "calib.txt"), "w")
calib_file.write("P0: 1 0 0 0 0 1 0 0 0 0 1 0\n")
calib_file.write("P1: 1 0 0 0 0 1 0 0 0 0 1 0\n")
calib_file.write("P2: 1 0 0 0 0 1 0 0 0 0 1 0\n")
calib_file.write("P3: 1 0 0 0 0 1 0 0 0 0 1 0\n")
calib_file.write("Tr: 1 0 0 0 0 1 0 0 0 0 1 0\n")
calib_file.close()

from point_labeler.

hnsywangxin avatar hnsywangxin commented on June 14, 2024

Thank you for your help, I will study the code carefully

from point_labeler.

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.