point-cloud-library

anaconda and point cloud library

痞子三分冷 提交于 2019-12-11 02:28:53
问题 Can you tell me how can I configure point cloud library to be used with anaconda, I have never used point cloud before. I have installed pcl1.6.0 all in one installer, openNI and PrimeSense . But even after this when I run my python code in anaconda it gives me the error: ImportError: No module named pcl Do I need to copy my pcl1.6.0 folder in the site-package folder if anaconda? the code is here: import pcl p = pcl.PointCloud() p.from_file("C:\Users\Kangkan\Desktop\ikea.png") fil = p.make

How to tell what units a point cloud is in?

允我心安 提交于 2019-12-11 00:19:30
问题 I am using a dataset of point cloud files created from Kinect images. Is there a way to know what units the axis are in, i.e. for a point (0.003, 0.004, 0.04) is this meters, centimeters etc.? I am trying to estimate surface normals from local patches using the setRadiusSearch method in pcl but this allows us to specify a radius in meters, so I need to know the units of the point cloud. 回答1: The axis in your viewer is whatever units you want it to be. You have to know or infer the actual

Qt Creator 100% CPU during code edit

吃可爱长大的小学妹 提交于 2019-12-10 21:41:43
问题 I have Qt Creator project. It uses boost and Point Cloud library . When I edit file that contains includes from these libraries, Qt Creator hangs about 30 seconds after each code channge (line added, variable type changed etc.). TaskManager shows 100% CPU on my two-core procesor. Please note: it is not during parsing or indexing, i.e. no green progress bar appears. Qt Creator is 2.8.0. 回答1: The only way I found is to disable boost and Eigen header parsing. To do it Exclude them from HEADERS

PCL Point Feature Histograms - binning

雨燕双飞 提交于 2019-12-10 15:27:53
问题 The binning process, which is part of the point feature histogram estimation, results in b^3 bins if only the three angular features (alpha, phi, theta) are used, where b is the number of bins. Why is it b^3 and not b * 3 ? Let's say we consider alpha. The feature value range is subdivided into b intervals. You iterate over all neighbors of the query point and count the amount of alpha values which lie in one interval. So you have b bins for alpha. When you repeat this for the other two

error LNK2001 when including “pcl_visualizer.h”

久未见 提交于 2019-12-10 11:54:03
问题 I want to visualize a point cloud using the point-cloud-library. I already included: #include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <pcl/kdtree/kdtree_flann.h> #include <pcl/features/normal_3d.h> #include <pcl/surface/gp3.h> without any problem, but when I add #include <pcl/visualization/pcl_visualizer.h> to my code I receive an LNK2001 error. Fehler 51 error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __cdecl pcl::visualization::PCLVisualizer:

Checking point coordinates in PCLVisualizer

回眸只為那壹抹淺笑 提交于 2019-12-10 09:38:54
问题 How can I check specific point coordinates in PCLVisualizer? There are no information regarding this topic in help: | Help: ------- p, P : switch to a point-based representation w, W : switch to a wireframe-based representation (where available) s, S : switch to a surface-based representation (where available) j, J : take a .PNG snapshot of the current window view c, C : display current camera/window parameters f, F : fly to point mode e, E : exit the interactor q, Q : stop and call VTK's

RANSAC plane fitting coefficients

↘锁芯ラ 提交于 2019-12-09 23:39:18
问题 I am trying to fit a plane to a set of point cloud. I tried using Point Cloud Library (PCL) & it works well. What I need to know is that how can I obtain the coefficients a,b,c of the fitted plane (ax+by+cz+1=0). Is there any straightforward way? I got some insights from here: 3D Least Squares Plane 回答1: See the following planar segmentation tutorial: http://pointclouds.org/documentation/tutorials/planar_segmentation.php Note in particular the use of the pcl::ModelCoefficients data structure.

Point Cloud Library with Visual Studio 2017

末鹿安然 提交于 2019-12-09 18:11:45
问题 I'm having trouble using Point Cloud Library with Microsoft Visual Studio 2017. I have installed [PCL-1.8.1-AllInOne-msvc2017-win64.exe] and I've followed the steps mentioned here. to link it to my Visual Studio 2017 project. My problem is that Visual Studio is not finding the header nor the source files of the library I need. The error I'm getting is as follows: [fatal error C1083: Cannot open include file: 'pcl/io/pcd_io.h': No such file or directory] To be more precise about my problem, I

Create a pcl::PointCloud::Ptr from a pcl::PointCloud

冷暖自知 提交于 2019-12-09 14:48:04
问题 I would like to know if this is possible. I have a function: pcl::PointCloud<pcl::PointXYZRGB> createPointCloud(std::Vector<Nodes> input) which returns a point cloud. I would like to know if it is possible to take this point cloud, and make a pointer to a copy of it. pcl makes pointers to clouds like this: pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloudPTR(new pcl::PointCloud<pcl::PointXYZRGB>) I have tried doing this: pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloudPTR(createPointCloud(nodeList))

PCL with Kinect (OpenNI Grabber)

為{幸葍}努か 提交于 2019-12-08 11:22:10
问题 **Hi , I just want a point cloud from kinect device. I followed the below link to do so. http://pointclouds.org/documentation/tutorials/openni_grabber.php#openni-grabber But I am getting the following error . Please suggest me , what I am doing wrong ? :( Your help is highly appreciable !! #include <pcl/console/parse.h> #include <pcl\console\time.h> #include <pcl\io\io.h> #include <pcl\point_types.h> #include<pcl\io\pcd_io.h> #include <pcl\io\openni_grabber.h> #include <pcl-1.7\pcl\io\openni