点云技术相关产学研社区

 找回密码
 立即注册加入PCL中国点云技术相关产学研社区

扫一扫,访问微社区

查看: 1874|回复: 0

可视化问题:黑色点云,白色背景

[复制链接]
发表于 2017-3-15 10:14:47 | 显示全部楼层 |阅读模式
输入点云 xyz
用简单类cloudviewer 点云显示为白色,
能否让它显示为黑色点云,白色背景,因为科技论文要求背景为白色。
setBackgroundColor(255,255,255);能实现背景白色,怎么定义输出点云的颜色?
PointCloudColorHandlerCustom<PointT> src_h(cloud_source, 0, 0, 0);
addPointCloud(cloud_target, tgt_h, "vp1_target", vp_1);
PCLVisualizer用这个类显示

请赐教
回复

使用道具 举报

本版积分规则

QQ|小黑屋|点云技术相关产学研社区 ( 陕ICP备13001629号 )

GMT+8, 2024-5-7 02:00 , Processed in 3.304262 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表