point-clouds

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

Algorithm to create minimal bounding-box composition of point cloud

若如初见. 提交于 2020-03-03 06:58:03
问题 I have a set of 2D points. I want to find a set of (possibly overlapping and arbitrarily oriented) bounding-boxes for subsets of these points such that each point lies within at least one box, each box contains at least k points and such that the combined area of the boxes is minimized. One idea for an algorithm I have is: use a concave-hull algorithm to find a concave hull for the points. use convex decomposition algorithm to find a set of convex hulls. compute arbitrarily oriented minimum

How to plot a 3-D pointCloud object with Intensity information in MATLAB?

狂风中的少年 提交于 2020-01-24 21:34:14
问题 I am using the MATLAB pointCloud class for working with and displaying 3-D point clouds. I have the coordinates of each point in x -, y -, and z -dimension, as well as a corresponding grayscale intensity value. For example, see the following test data: x = [0, 1; 0, 1]; y = [0, 0; 1, 1]; z = [0, 0; 0, 0]; c = [0, 1/3; 2/3, 1]; The corresponding pointCloud object is created with ptCloud = pointCloud(cat(3, x, y, z), 'Intensity', c); Now I want to plot the point cloud using the pcshow command,

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

Detecting set of planes from point cloud

馋奶兔 提交于 2020-01-14 01:36:43
问题 I have a set of point cloud, and I would like to test if there is a corner in a 3D room. So I would like to discuss my approach and if there is a better approach or not in terms of speed, because I want to test it on mobile phones. I will try to use hough tranform to detect lines, then I will try to see if there are three lines that are intersecting and they make a two plane that are intersecting too. 回答1: If the point cloud data comes from a depth sensor, then you have a relatively dense

Visualize pointcloud

隐身守侯 提交于 2020-01-03 08:55:22
问题 I have 3D points from gpu::reprojectImageTo3D on a found disparity image. I would now like to display this pointcloud. How do I Convert the found pointcloud from OpenCV to sensor_msgs/PointCloud2 ? I do not need to publish the pointcloud this is only for debug visualization. Could it be possible to display it as is done with images from the node? e.g. using pcl ? This would be optimal since my device may not perform well with RViz (based on readings online). 回答1: My best guess is to do like

PCL create a pcd cloud

♀尐吖头ヾ 提交于 2019-12-30 05:30:08
问题 This is what I have so far and I want to save pcd file from it I know I have to do something like this but not exactly sure pcl::PointCloud::PointPointXYZRGBA> cloud; pcl::io:;savePCDFileASCII("test.pcd",cloud); what do i have to add in my current code that i will have test.pcd Thanks #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/io/openni_grabber.h> #include <pcl/visualization/cloud_viewer.h> #include <pcl/common/time.h> class SimpleOpenNIProcessor { public: