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 get (Euclidian) distance data #1675

Open
MseoKang opened this issue Sep 8, 2021 · 3 comments
Open

How to get (Euclidian) distance data #1675

MseoKang opened this issue Sep 8, 2021 · 3 comments
Labels
Ask a Question A question for the community

Comments

@MseoKang
Copy link

MseoKang commented Sep 8, 2021

Is there a way to get the raw distance from the Azure Kinect to each point? According to the documentation, the depth values are not the distances from each point to the Azure Kinect, but the z-coordinates. I was wondering if there was a way to obtain the Euclidian distance from the Azure Kinect's origin to an arbitrary point. Can I get the Euclidian distance directly from the TOF sensor?

@qm13 qm13 self-assigned this Sep 13, 2021
@qm13 qm13 added the Ask a Question A question for the community label Sep 13, 2021
@qm13
Copy link
Collaborator

qm13 commented Sep 13, 2021

The depth value is the distance in mm of the pixel from the depth camera.

@MseoKang
Copy link
Author

The depth value is the distance in mm of the pixel from the depth camera.

I tested it, and the depth value was not the distance between the object and the depth camera, but the z-coordinates. For example, two objects at (-300, 0, 600) and (600, 0, 600) gave the same depth values, even though their distances were different. I know that the depth camera uses a time-of-flight sensor, so the device should know the raw distance somewhere.

@hlyf-xs
Copy link

hlyf-xs commented Jan 3, 2022

I also test the transform depth image to color image, but the depth value from transformed depth image is not the distance, I don't know how to solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ask a Question A question for the community
Projects
None yet
Development

No branches or pull requests

3 participants