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

[compression] Can we support GPU to accelerate? #4967

Open
whatisor opened this issue Oct 3, 2021 · 1 comment
Open

[compression] Can we support GPU to accelerate? #4967

whatisor opened this issue Oct 3, 2021 · 1 comment
Labels

Comments

@whatisor
Copy link

whatisor commented Oct 3, 2021

Current evaluation:
Environment: Windows 10 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.21 GH
PointCloud: Realsense

Input:
pcl::io::compression_Profiles_e compressionProfile = pcl::io::MANUAL_CONFIGURATION;
const double pointResolution_arg = 0.005;
const double octreeResolution_arg = 0.005;
bool doVoxelGridDownDownSampling_arg = true;
const unsigned int iFrameRate_arg = 30;
bool doColorEncoding_arg = true;
const unsigned char colorBitResolution_arg = 5;

Result:
Frame ID: 773
Encoding Frame: Prediction frame
Number of encoded points: 135760
XYZ compression percentage: 3.664678%
XYZ bytes per point: 0.439761 bytes
Color compression percentage: 36.146324%
Color bytes per point: 1.445853 bytes
Size of uncompressed point cloud: 2121.250000 kBytes
Size of compressed point cloud: 249.991211 kBytes
Total bytes per point: 1.885614 bytes
Total compression percentage: 11.785089%
Compression ratio: 8.485298

Encode time 133 ms
Decode time 47 ms

Can we implement by GPU such as Cuda, WebGL?

@whatisor whatisor added kind: request Type of issue status: triage Labels incomplete labels Oct 3, 2021
@mvieth
Copy link
Member

mvieth commented Oct 3, 2021

Could be possible to make encoding and decoding faster by using the GPU or using multiple CPU threads. We maintainers probably don't have the time right now to look into this, but you are of course welcome to investigate and share your findings or open a pull request. Or maybe someone else sees this and is interested. Starting points could be Octree2BufBase and the octree implementation in the gpu module.

@mvieth mvieth added module: io and removed status: triage Labels incomplete labels Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants