Gazebo | Ignition | Community
Ask Your Question
0

What is the format of a depth image in Gazebo 11?

asked 2020-12-17 14:10:44 -0600

Zeckurbo gravatar image

updated 2021-01-28 11:48:40 -0600

Hey, I was wondering, what exactly the format of the depth image form a depth sensor (like ros kinect) is. So far I have not found anything yet. Shouldnt it be something like png or jpg nontheless? And is there any page where I can find a detailed description of the konversion into an image. I would like to know how much error the image has (quantization).

Thank you guys for help

Update:

As I have found out, the format of a depth image is R_Float32. But I still have no idea how high the quantization error is.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-12-18 12:47:14 -0600

iche033 gravatar image

I'ts not png or png but just an array of float values. If you're getting depth image data through a topic, here is an example callback how to to get data out from the image: https://github.com/osrf/gazebo/blob/g...

edit flag offensive delete link more

Comments

Thanks, do you know any source where I can read directly which format a sensor output has? An do you know anything about the quantization error?

Zeckurbo gravatar imageZeckurbo ( 2020-12-22 11:13:36 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-12-17 14:10:44 -0600

Seen: 353 times

Last updated: Jan 28 '21