点云技术相关产学研社区

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

扫一扫,访问微社区

查看: 4516|回复: 0

双边滤波bug

[复制链接]
发表于 2017-4-13 09:59:54 | 显示全部楼层 |阅读模式
无法解析的外部符号 "public: virtual void __cdecl pcl::BilateralFilter<struct pcl::PointXYZ>::applyFilter(class pcl::PointCloud<struct pcl::PointXYZ> &)" (?applyFilter@?$BilateralFilter@UPointXYZ@pcl@@@pcl@@UEAAXAEAV?$PointCloud@UPointXYZ@pcl@@@2@@Z)

  1. void bino:: BilteralFilter()
  2. {

  3.     pcl::BilateralFilter<pcl::PointXYZ> fbf;   
  4.     fbf.setInputCloud(cloud);  
  5.     fbf.setHalfSize(5.0);//定义算法支持的滤波范围的大小  
  6.     fbf.setStdDev(0.003);  
  7.     pcl::PointCloud<pcl::PointXYZ> cloud_filtered;  
  8.    
  9.     fbf.filter(cloud_filtered);  
  10.    //fbf.applyFilter(cloud_filtered);  


  11.     //// Convert data back  
  12.         //pcl::PCLPointCloud2  cloud_output;
  13.     pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_output;  
  14.     //toPCLPointCloud2(cloud_filtered, cloud_output);  
  15.     pcl::concatenateFields(*cloud,cloud_filtered,*cloud_output);  
  16.     pcl::copyPointCloud(*cloud_output, *cloud);  

  17.     viewer->updateCamera();  
  18.     viewer->updatePointCloud(cloud, "cloud");  
  19.     viewer->initCameraParameters();  
  20. }
复制代码
上面是该段代码和错误,前辈帮忙看看,已经卡了两天了。谢谢!!!!
回复

使用道具 举报

本版积分规则

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

GMT+8, 2024-4-20 14:35 , Processed in 1.658955 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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