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

encoding and decoding intensity values in point cloud #31

Open
shravanbk11 opened this issue Jul 20, 2022 · 3 comments
Open

encoding and decoding intensity values in point cloud #31

shravanbk11 opened this issue Jul 20, 2022 · 3 comments

Comments

@shravanbk11
Copy link

Hi, I am trying to encode and decode, intensity values from a LIDAR along with the 3D position information (point cloud). May I know if there is any way to do that?

@william-silversmith
Copy link
Contributor

Hi, I am not sure. Your data are stored in Draco format? Do you have any idea how the intensity values are stored? This library currently only supports a subset of Draco's full feature set.

@shravanbk11
Copy link
Author

Thank you for the quick response. The data is stored as a [N * 4] dimension NumPy array. Where the first 3 dimensions correspond to the position and the last is the intensity. As of now, I am able to encode the position as a 3D NumPy array using the Draco.encode() method. The intensity values can either be stored as integer or float values in a NumPy array which denotes the reflectance value of each point in the point cloud.

@william-silversmith
Copy link
Contributor

DracoPy 1.2.0 was just released with support for a uint8 color attribute. Try giving that a spin it might be what you're looking for. Thanks to @zeruniverse for the contribution!

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