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

Is it possible to create a colored point cloud from the resulting data? #133

Open
Dsai1006 opened this issue Jun 22, 2020 · 2 comments
Open

Comments

@Dsai1006
Copy link

Dsai1006 commented Jun 22, 2020

Is it possible to create a colored point cloud from the obtained data?
If you can, could you please give us some tips on how to do this?

@emeraldy
Copy link

emeraldy commented Jul 1, 2020

hi, yes, it is definitely possible. basically, you reconstruct 3d points from depth data provided by the depth sensor frames. the sdk here has all the api's you need for this process. you can refer to this issue post (#64) as starting point.

@CKunz
Copy link

CKunz commented Jul 1, 2020

Hi,

this is possible and not so difficult. But you need to know how. There are several important things to consider. The short (long) throw depth don´t give you the real depth value. It gives you the distance from the clipping plane to the points. You need to perform a unprojection mapping using the u and v matrices.

This is described here:
#63

Often mistakes are done when not using the right encoding for the depth data:
#56

Also very important as a starting point is the HoloLensForCV project:
https://github.com/Microsoft/HoloLensForCV/blob/87c5eeb436ae909894a8049cb2584e60dcad13b0/Shared/HoloLensForCV/SensorFrameRecorder.cpp#L243

Greetings

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

3 participants