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

About the quantization method of KITTI point cloud #1

Open
Thomas-pku opened this issue Mar 5, 2025 · 1 comment
Open

About the quantization method of KITTI point cloud #1

Thomas-pku opened this issue Mar 5, 2025 · 1 comment

Comments

@Thomas-pku
Copy link

Hello, I am very interested in your work. I used your open source weights and SparsePCGC to quantize to 1mm for testing. The experimental results are quite different from those in your article. Could you please tell me about your quantization method? If it is convenient, can you provide the processing script? Thank you!

@youkangGG
Copy link
Contributor

Thank you for your interest in our paper! The KITTI dataset we utilized comprises densemap data, rather than the original KITTI point clouds in SparsePCGC. A simple conversion of the densemap provided in the aforementioned link is as follows:

import numpy as np
import pandas as pd
from pyntcloud import PyntCloud

input_bin_path = './40m_ILEN/08/000028.bin'
output_ply_path = './000028.ply'

points = np.fromfile(input_bin_path, dtype='float32').reshape(11, -1).T
points = points[:, :3]

df = pd.DataFrame(points, columns=['x', 'y', 'z'])
cloud = PyntCloud(df)
cloud.to_file(output_ply_path)

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