point-cloud-library

Generate image from an unorganized Point Cloud in PCL

ぐ巨炮叔叔 提交于 2019-11-28 01:46:52
问题 I have an unorganized point cloud of the scene. Below is a screenshot of the point cloud- I want to compose an image from this point cloud. Below is the code snippet- #include <iostream> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> #include <opencv2/opencv.hpp> int main(int argc, char** argv) { pcl::PointCloud<pcl::PointXYZRGBA>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZRGBA>); pcl::io::loadPCDFile("file.pcd", *cloud); cv::Mat image = cv::Mat(cloud->height, cloud->width, CV_8UC3)

Setting up Point Cloud Library with Visual Studio

﹥>﹥吖頭↗ 提交于 2019-11-27 06:55:49
I am trying to use the Point Cloud Library with Visual Studio. I downloaded the all-in-one 64 bit installer, Visual Studio 10 and installed them. But now I cannot run it on Visual Studio 2010, I have tried the tutorial on the official page with no luck. I want to add the includes and lib location, with the .lib files in the properties of my solution. I have done this before with opencv, but for PCL I don't know what files and folders I have to add. Also what .dll files I have to add to the path of the system variables. Cmake didn't work, and I prefer not to use it. You have to add the include