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

How to calculate true depth from relative depth values ? #226

Open
pragathiacharya opened this issue Aug 28, 2024 · 2 comments
Open

How to calculate true depth from relative depth values ? #226

pragathiacharya opened this issue Aug 28, 2024 · 2 comments

Comments

@pragathiacharya
Copy link

Depth image contains pixel values ranging from 0 to 255, it seems the depth values are not directly in meters but are instead encoded in a normalized format or as 8-bit intensity values. To convert these values to actual depth in meters, you need to understand the scale or conversion factor used to encode the depth values.
Can anyone please help find the conversion factor as I want to estimate the true distance from the depth image.

@github-staff github-staff deleted a comment Aug 28, 2024
@LiheYoung
Copy link
Owner

Hi, you need to provide some true metric depth values to align the relative depth to metric depth by fitting a scale and a shift.

@C-hongfei
Copy link

Hi, you need to provide some true metric depth values to align the relative depth to metric depth by fitting a scale and a shift.

Hi, Can the results obtained using metric_depth method be used to calculate true distances without a scale? Is it possible to obtain true 3D coordinates?

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

4 participants
@LiheYoung @C-hongfei @pragathiacharya and others