Skip to content

PascalZh/mpcd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpcd


Pure Python module to read and write point clouds stored in the PCD file format, used by the Point Cloud Library. Fork from pypcd: https://github.com/dimatura/pypcd

import mpcd
# also can read from file handles.
pc = mpcd.PointCloud.from_path('foo.pcd')
# pc.pc_data has the data as a structured array
# pc.fields, pc.count, etc have the metadata

# center the x field
pc.pc_data['x'] -= pc.pc_data['x'].mean()

# save as binary compressed
pc.save_pcd('bar.pcd', compression='binary_compressed')

I want to congratulate you / insult you

My email is mail@yuehao.wang.

Copyright (C) 2023 Yuehao Wang

mpcd

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%