-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what is the depth images scale value #41
Comments
This value is actually configurable in the underlying librealsense driver. The default for the R200 camera, which is not changed in this ros driver, is 1mm resolution. So a value of 1000 corresponds to 1 meter. Here is where to find this information: https://github.com/IntelRealSense/librealsense/blob/master/doc/projection.md. |
RAR-452 and RAR-527 Only
Is there a topic that return the depth_scale for the current camera ? I am using the D435 |
The D435 publishes depth in "16-bit unsigned integers in millimeter resolution." |
Even in the the topic /camera/aligned_depth_to_color/image_raw? When I echo the topic, I receive values between 0 and 255. Are you saying 16-bit unsigned integers in millimeter resolution. in quote because it is documented somewhere? I am having a hard time finding documentation about the intel-ros realsense package. Can you send me the link of the place where you saw that ? My problem is that I am trying to have the depth of a pixel from topic published by the realsense node when I launch it with But every topic give me a array data of value between 0 and 255. I am subscribed to What am I doing wrong ? |
As @jlysnantel I've the same need to get the depth of a single pixel. Is there any way I can do it through any Ros topic? |
@jlysnantel , sorry for failing to return to you. The format is defined in REP-118, under the "OpenNI Raw Representation" section. |
@doronhi I was already using this solution but I'm not able to make the following line work with python3:
It only works correctly on python, but running it with python3 (python 3.6 version) I get the following error:
It looks like it cannot import |
The link is not working. Could you please direct me the correct link? |
http://vision.in.tum.de/data/datasets/rgbd-dataset/file_formats
has said "The depth images are scaled by a factor of 5000, i.e., a pixel value of 5000 in the depth image corresponds to a distance of 1 meter from the camera, 10000 to 2 meter distance, etc. A pixel value of 0 means missing value/no data"
I just want to know what is the value for R200
? = 1 meter for R200 depth camera.
The text was updated successfully, but these errors were encountered: