You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We started using a new RealSense, namely the short-range camera D405, which can provide good depth maps for object as near as 7 cm to the camera.
As we tipically do, it is always useful to visualize the depth map in a yarpview using the depthimage_to_rgb portmonitor for debugging or just to quickly check that the camera is working as expected.
Unfortunately, the depthimage_to_rgb portmonitor is ignoring any value of depth lower than 0.2 m:
xEnVrE
changed the title
Decrease the minimum depth of the depthimage_to_rgb portmonitor
Decrease the minimum depth of the depthimage_to_{mono, rgb} portmonitors
Mar 15, 2023
Is your feature request related to a problem? Please describe.
We started using a new RealSense, namely the short-range camera D405, which can provide good depth maps for object as near as 7 cm to the camera.
As we tipically do, it is always useful to visualize the depth map in a
yarpview
using thedepthimage_to_rgb
portmonitor for debugging or just to quickly check that the camera is working as expected.Unfortunately, the
depthimage_to_rgb
portmonitor is ignoring any value of depth lower than0.2 m
:yarp/src/portmonitors/depthimage_to_rgb/DepthImage2.cpp
Line 52 in 51292e3
Describe the solution you'd like
Would it be possible to lower that value to something smaller, e.g.
0.01 m
?I can open a PR in case.
Additional context
This is an example of the depth visualization using the current configuration,
min = 0.2
:while this is the same scene after changing
min
to0.01
:cc @randaz81
The text was updated successfully, but these errors were encountered: