Skip to main content

A Glance At Python-PCL Library

Package Contents of Python PCL

  • _pcl
  • pcl_visualizations

Functions

Function

Description

deg2rad(…) deg2rad(float alpha)
load(path, format=None) Load pointcloud from path.

Currently supports PCD and PLY files.

Format should be “pcd”, “ply”, or None to infer from the pathname.

load_PointWithViewpoint(path, format=None) Load pointcloud from path.

Currently supports PCD and PLY files.

Format should be “pcd”, “ply”, or None to infer from the pathname.

load_XYZI(path, format=None) Load pointcloud from path.

Currently supports PCD and PLY files.

Format should be “pcd”, “ply”, or None to infer from the pathname.

load_XYZRGB(path, format=None) Load pointcloud from path.

Currently supports PCD and PLY files.

Format should be “pcd”, “ply”, or None to infer from the pathname.

load_XYZRGBA(path, format=None) Load pointcloud from path.

Currently supports PCD and PLY files.

Format should be “pcd”, “ply”, or None to infer from the pathname.

rad2deg(…) rad2deg(float alpha)
save(cloud, path, format=None, binary=False) Save pointcloud to file.

Format should be “pcd”, “ply”, or None to infer from the pathname.

save_PointNormal(cloud, path, format=None, binary=False) Save pointcloud to file.

Format should be “pcd”, “ply”, or None to infer from the pathname.

save_XYZRGBA(cloud, path, format=None, binary=False) Save pointcloud to file.

Format should be “pcd”, “ply”, or None to infer from the pathname.

 

Constants

SACMODEL_CIRCLE2D = 2
SACMODEL_CIRCLE3D = 3
SACMODEL_CONE = 6
SACMODEL_CYLINDER = 5
SACMODEL_LINE = 1
SACMODEL_NORMAL_PARALLEL_PLANE = 16
SACMODEL_NORMAL_PLANE = 11
SACMODEL_NORMAL_SPHERE = 12
SACMODEL_PARALLEL_LINE = 8
SACMODEL_PARALLEL_LINES = 10
SACMODEL_PARALLEL_PLANE = 15
SACMODEL_PERPENDICULAR_PLANE = 9
SACMODEL_PLANE = 0
SACMODEL_REGISTRATION = 13
SACMODEL_SPHERE = 4
SACMODEL_STICK = 17
SACMODEL_TORUS = 7
SAC_LMEDS = 1
SAC_MLESAC = 5
SAC_MSAC = 2
SAC_PROSAC = 6
SAC_RANSAC = 0
SAC_RMSAC = 4
SAC_RRANSAC = 3