point-cloud-library

Python - Display 3D Point Cloud [closed]

萝らか妹 提交于 2020-03-17 07:09:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I have a .PLY file that contains a 3D Point Cloud: I want to plot it and visualize it in Python. The .PLY file contains ONLY vertex and NOT faces. Could you indicate me a simple Python library that will take care of plotting the 3D Point Cloud? It is important to remark that I am not interested in plotting a

How to draw points efficiently

倾然丶 夕夏残阳落幕 提交于 2020-03-02 10:05:10
问题 My program receives PCL pointcloud and plot each point one by one using: glBegin(GL_POINTS); glVertex3f(point.x, point.y, point].z); glEnd(); It works but due to the large number of points the program is pretty slow. Is there a more efficient way to do this? 回答1: Jam all the points into a big VBO when the point-cloud changes & draw 'em all in one go using a single glDrawArrays() call. That way OpenGL can shift all the vertex data to GPU once instead of you spoon-feeding the driver geometry

Cannot compile pcl examples with cmake

无人久伴 提交于 2020-02-25 06:47:09
问题 I just got the pcl installed and would like to run the examples in the folder /pcl-pcl-1.7.1/examples. The different examples each have CMakeLists.txt in them, so I thought I just do a cmake . in the terminal followed by make to compile it. After doing that in the terminal I got CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) So I looked into the cmake file and the weird thing is that these cmake

Is there any function to extract the indices generated from a cropbox

南笙酒味 提交于 2020-01-25 07:56:05
问题 I've tried the pcl::cropbox and filtered a cloud based on the min and max x,y,z values given to the cropbox. I get the new cloud which contains only the point within the cropbox limits. Unfortunately I don't need a separate cloud, but need the indices which lie within the box. Note : I get the removed indices from the old cloud, but not the indices which lie inside cropbox. pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZ>); pcl::io::loadPCDFile ("D:\ism_test.pcd",

Remove outlier in Point Cloud

我怕爱的太早我们不能终老 提交于 2020-01-24 21:18:40
问题 With OpenCV/Matlab, I'm computing a disparity map. I use OpenCV SGBM function to get it. The result are good. I got a bit of noise in my image. With medfilt2 in Matlab, I remove a lot of bad pixels. But where the noise is more present than the real data, That create outliers zone (Thing under the plant). I would like to remove all. I'm looking for a better way to do it ? With the median filter, at least the image get less point projected on the ground plane and less point generated in the top

Finding CUDA_SDK_ROOT_DIR

六眼飞鱼酱① 提交于 2020-01-24 11:41:18
问题 I am trying to set up Point Cloud Library trunk build with CUDA options enabled. I believe I have installed CUDA correctly, following these instructions. In the cmake options for the PCL build, some options are unrecognised: Is there something I can manually set CUDA_SDK_ROOT_DIR to? Likewise for the other unfound options. 回答1: CUDA_SDK_ROOT_DIR should be set to the direction in which you installed the NVIDIA's GPU Computing SDK. The GPU Computing SDK is downloadable from the same page at

Finding CUDA_SDK_ROOT_DIR

£可爱£侵袭症+ 提交于 2020-01-24 11:40:09
问题 I am trying to set up Point Cloud Library trunk build with CUDA options enabled. I believe I have installed CUDA correctly, following these instructions. In the cmake options for the PCL build, some options are unrecognised: Is there something I can manually set CUDA_SDK_ROOT_DIR to? Likewise for the other unfound options. 回答1: CUDA_SDK_ROOT_DIR should be set to the direction in which you installed the NVIDIA's GPU Computing SDK. The GPU Computing SDK is downloadable from the same page at

Installation issue in pcl-1.5.1

会有一股神秘感。 提交于 2020-01-16 18:49:28
问题 I'm trying to install pcl-1.5 from the source here. I'm able to install it on my laptop ( Ubuntu 12.04 ) but on the desktop ( Ubuntu 14.04 ), it's not compiling. mkdir build cd build cmake .. make It's giving lots of errors. Check http://pastebin.com/P37L9yCm for the output in the error stream. What's the problem? Isn't pcl-1.5 for Ubuntu 14.04 ? Okay! I've installed pcl-1.7 successfully. But then how do I run my previous pcl-1.5 code on it? Refer to this question. 来源: https://stackoverflow

Installation issue in pcl-1.5.1

旧巷老猫 提交于 2020-01-16 18:49:12
问题 I'm trying to install pcl-1.5 from the source here. I'm able to install it on my laptop ( Ubuntu 12.04 ) but on the desktop ( Ubuntu 14.04 ), it's not compiling. mkdir build cd build cmake .. make It's giving lots of errors. Check http://pastebin.com/P37L9yCm for the output in the error stream. What's the problem? Isn't pcl-1.5 for Ubuntu 14.04 ? Okay! I've installed pcl-1.7 successfully. But then how do I run my previous pcl-1.5 code on it? Refer to this question. 来源: https://stackoverflow

Point Level Segmentation from box annotation of Point Cloud using Crop Box Filter

落爺英雄遲暮 提交于 2020-01-16 11:59:57
问题 I am trying to get point level segmentation from box annotations. I get the box annotation in the form of a Json File from online labeling software Supervisely. I use PCL's cropbox filter to obtain a point level segmentation. Although, most of the points are correctly being obtained, I am still getting indices of points outside the box. I think there is something going wrong with how I am assigning the orientation of box in the filter. The methodology is discussed in a previous stack overflow