当前位置:网站首页>无法从“boost::shared_ptr<pcl::RangeImage>”转换为“const std::shared_ptr<const pcl::PointCloud<pcl::PointWit
无法从“boost::shared_ptr<pcl::RangeImage>”转换为“const std::shared_ptr<const pcl::PointCloud<pcl::PointWit
2022-07-21 05:04:00 【Amelie_11】
无法从“boost::shared_ptrpcl::RangeImage”转换为“const std::shared_ptr<const pcl::PointCloudpcl::PointWithRange>”
5.2可视化深度图像
报错:
源码:
pcl::visualization::PointCloudColorHandlerCustom<pcl::PointWithRange> range_image_color_handler(range_image_ptr, 0, 0, 0);
viewer.addPointCloud(range_image_ptr, range_image_color_handler, "range image");
viewer.setPointCloudRenderingProperties(pcl::visualization::PCL_VISUALIZER_POINT_SIZE, 1, "range image");
解决方法:
pcl::visualization::PointCloudColorHandlerCustom<PointType> point_cloud_color_handler(point_cloud_ptr, 0, 0, 0);
//pcl::visualization::PointCloudColorHandlerCustom<pcl::PointWithRange> range_image_color_handler(range_image_ptr, 0, 0, 0);
//
//viewer.addPointCloud(range_image_ptr, range_image_color_handler, "range image");
//viewer.setPointCloudRenderingProperties(pcl::visualization::PCL_VISUALIZER_POINT_SIZE, 1, "range image");
参考链接:https://www.cnblogs.com/WTSRUVF/p/15427948.html
边栏推荐
猜你喜欢
3. Build the basic model of paddlepaddle from scratch (compare with keras and pytorch)
As7341 spectrum sensor measures color temperature color_ temperature_ Study notes
tensorflow-GPU环境配置
Pytorch foundation module and Practice
吴恩达深度学习L4W4人脸识别
[3D modeling] SolidWorks 3D modeling and prusaslicer slice printing learning notes
Datalosserror: corrected record at XXXXXXX, Bert pre training error
Pytorch installation
ESP8266固件下载及烧录(收录AT固件下载地址+固件烧录注意事项)
如何使用正态分布变换进行配准
随机推荐
【3D建模】Solidworks 3D建模及PrusaSlicer切片打印学习笔记
STM32F407-OV7670(无FIFO)-ONENET-实现摄像头画面上传到onenet(EDP协议)
Codeforces-479A
深度剖析 string —— memcpy & memmove
Solve zsh:command not found
bert从入门到实践笔记本
Es aggregate statistical syntax
Those pits in distributed transactions
Recursive and non recursive implementation of four traversals of binary trees
1024 scientific counting method
Hetai 32 onenet WiFi module - Hetai MCU data cloud through mqtt protocol (I)
Account类
我的第一篇博客
Account class
CONDA install datasets to avoid conflicting commands
Source code analysis of Bert model call
Codeforces 1642B Power Walking
深度剖析 —— 结构体
Training and acquisition of Chinese wiki corpus
(笔记)吴恩达深度学习L4卷积神经网络W1