无法解析的外部符号 "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)
- void bino:: BilteralFilter()
- {
- pcl::BilateralFilter<pcl::PointXYZ> fbf;
- fbf.setInputCloud(cloud);
- fbf.setHalfSize(5.0);//定义算法支持的滤波范围的大小
- fbf.setStdDev(0.003);
- pcl::PointCloud<pcl::PointXYZ> cloud_filtered;
-
- fbf.filter(cloud_filtered);
- //fbf.applyFilter(cloud_filtered);
-
- //// Convert data back
- //pcl::PCLPointCloud2 cloud_output;
- pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_output;
- //toPCLPointCloud2(cloud_filtered, cloud_output);
- pcl::concatenateFields(*cloud,cloud_filtered,*cloud_output);
- pcl::copyPointCloud(*cloud_output, *cloud);
- viewer->updateCamera();
- viewer->updatePointCloud(cloud, "cloud");
- viewer->initCameraParameters();
- }
复制代码 上面是该段代码和错误,前辈帮忙看看,已经卡了两天了。谢谢!!!!
|