Skip to content
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

D400 series stereo matching #7608

Closed
sho-ji opened this issue Oct 19, 2020 · 4 comments
Closed

D400 series stereo matching #7608

sho-ji opened this issue Oct 19, 2020 · 4 comments

Comments

@sho-ji
Copy link

sho-ji commented Oct 19, 2020

Required Info
Camera Model D400

Issue Description

When I shoot an object, the corners are rounded.
I think this phenomenon depends on the number of pixels in stereo matching.
How many pixels does the D400 series stereo matching use?

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 19, 2020

Hi @sho-ji The 400 Series stereo cameras do not have a confidence threshold like the SR30x models do, so pixels are either 100% matched or they are not matched.

#3185 (comment)

Aside from using the Second Peak Threshold setting to simulate a confidence map as the above link suggests, you may also get less "blobbiness" in the image if you increase the value of the Laser Power setting in combination with the Medium Density. visual preset (for a balance between accuracy and fill-rate)

#7021 (comment)

If you are applying a smoothing filter than that may also contribute towards the occurrence of rounded corners, as described in 2. Edge-preserving filtering of the section of Intel's post-processing guide linked to below.

https://dev.intelrealsense.com/docs/depth-post-processing#section-simple-post-processing

@sho-ji
Copy link
Author

sho-ji commented Oct 20, 2020

Hi @MartyG-RealSense Thank you for your answer.
Stereo matching is not processed using only 1 pixel, isn't it?
If you don't use a few pixels, you won't be able to find a reliable depth.
And since it is rare that all the pixel values match, I think that the 1st peak will be acquired.
Therefore, I think there is a threshold for judging that they do not match.

Is there any material that describes that part in detail?

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 20, 2020

The Depth from Stereo documentation provides more information about matching.

https://github.com/IntelRealSense/librealsense/blob/master/doc/depth-from-stereo.md

@sho-ji
Copy link
Author

sho-ji commented Oct 20, 2020

Thank you very much!

@sho-ji sho-ji closed this as completed Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants