测试效果
废话
paint_uniform_color
将所有点绘制为统一的颜色。颜色在RGB空间中,[0,1]范围内。
测试代码
import open3d as o3d
import cv2
def K_readCloud():
cloud = o3d.io.read_point_cloud('D:\\TransPCD.pcd')
return cloud
def K_voxel_down_sample(cloud:o3d.geometry.PointCloud):
return cloud.voxel_down_sample(20)
def K_estimate_normals(cloud:o3d.geometry.PointCloud):
cloud.estimate_normals(search_param=o3d.geometry.KDTreeSearchParamHybrid(radius=50, max_nn=30))
return cloud
def K_CropCloud(cloud:o3d.geometry.PointCloud):
print('K_CropCloud')
def K_PaintCloud(cloud:o3d.geometry.PointCl