Skip to content

Decrease the minimum depth of the depthimage_to_{mono, rgb} portmonitors #2956

@xEnVrE

Description

@xEnVrE

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:

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 to 0.01:

cc @randaz81

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions