Does the depth scale of the D435 change with each run, each frame, or is it fixed?
Hi,
I am working on an educational project to assess the depth of objects.
The depth data is extracted as numpy ndarrays then analyzed.
I need to know if the depth scale returned from:
depth_sensor = profile.get_device().first_depth_sensor()
depth_scale = depth_sensor.get_depth_scale()
... is fixed, or it changes every run, every frame read?
Thanks
-
Hi Radhwan Sani The depth scale on the 400 Series cameras remains fixed at the default value of 0.001 (meters) unless deliberately changed. Even when changed, it remains constant until the next time that it is manually changed.
The depth measurement in meters is obtained by multiplying a 16-bit pixel depth value (uint16) with a range between 0 and 65535 by the depth scale value. For example, 65535 x 0.001 = 65.535 meters.
-
Thank you MartyG,
Our experiment involves measuring the distance in a close-range e.g. 2 meters.
Should we keep using the default depth scale value, for higher accuracy?
Thanks
-
The default depth scale value is fine for that distance. If you seek optimum depth accuracy then a depth resolution of 848x480 is optimal for the D435 model. Also, you could try using the High Accuracy visual preset configuration.
https://dev.intelrealsense.com/docs/d400-series-visual-presets
-
Thank you MartyG
Please sign in to leave a comment.
Comments
4 comments