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

depth map not accurate? #4

Open
hua-wu-que opened this issue Apr 15, 2020 · 1 comment
Open

depth map not accurate? #4

hua-wu-que opened this issue Apr 15, 2020 · 1 comment

Comments

@hua-wu-que
Copy link

It seems the generated depth map is only for visualization purpose? Could it be converted to an accurate point cloud?

@locoxsoco
Copy link

locoxsoco commented Nov 15, 2020

I got the same issue. I made a test rendering a perfect sphere, setting the camera looking at its center, and adjusting the clip start and clip end at the sphere borders to define the map value correctly.

image

With those parameters, the closest value, which is the center, should be 0 and the longest visible value, which is the borders, should be 128 (ranging values from 0 to 255). However, the results turned out to be 1 and 84~98.

image

I will try modifying from perspective to orthogonal view but if someone finds another method to use I would really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants