Questions tagged [point-cloud-library]

The Point Cloud Library (PCL) is a standalone, large scale, open (BSD licensed) project for 3D point cloud processing.

Point Cloud Library is an open-source framework for point-cloud processing. Founded 2010, it is an initiative sponsored by Willow Garage, NVidia, Google, and others. It is written in C++ and distributed under the BSD license.

Latest release: v1.11.1 released on Aug 14, 2020

PCL contains 3D geometry processing methods, which are divided into following modules:

  • filters
  • features
  • keypoints
  • registration
  • kdtree
  • octree
  • segmentation
  • sample_consensus
  • surface
  • range_image
  • io
  • visualization

Links

1397 questions
11
votes
4 answers

PCL: Visualize a point cloud

I'm trying to visualize a point cloud using PCL CloudViewer. The problem is that I'm quite new to C++ and I have found two tutorials first demonstrating the creation of PointCloud and second demonstrating the visualization of a PointCloud. However,…
liborw
  • 842
  • 1
  • 8
  • 22
10
votes
3 answers

Convert pcl point type XYZ to Eigen Vector 4f

I am trying to convert pcl pointXYZ to eigen vector Eigen::Vector4f min (minPnt.x, minPnt.y, minPnt.z); Eigen::Vector4f max (maxPnt.x, maxPnt.y, maxPnt.z); where minPnt and maxPnt are of type pcl::PointXYZ. However, I get an error as "error…
Launa
  • 183
  • 2
  • 13
10
votes
3 answers

Adding two different point clouds to viewer (Point Cloud Library (PCL))

I just started to use the great point cloud library and wanted to display two point clouds within one viewer but each in a different colour. When I use one point cloud object (pointer?!) it works just fine but if I want to add a second one, only the…
GeoGecco
  • 437
  • 4
  • 21
9
votes
0 answers

CMake: link against two precompiled libraries dependent on different versions of third library

I'm trying to compile a project where I'm linking against precompiled versions of two libraries (PCL and Matlab), that are compiled against different versions of Boost (1.58 and 1.56). This gives me many warnings when I build my project: Cannot…
Atnas
  • 594
  • 4
  • 16
7
votes
2 answers

VSCode C++ IntelliSense works fine except for PCL (Point Cloud Library)

On SO itself, there are already many questions about VSCode IntelliSense, e.g., que1, que2, que3, etc. However, they mainly talk about IntelliSense not working in general; not working for STL; and so on. On the other hand, in my case, I'm already…
Milan
  • 1,743
  • 2
  • 13
  • 36
7
votes
2 answers

how to import all the points from a .pcd file into a 2d python array

How do you import all the 3d points from a file named edge_cloud.pcd and put them into an array? I want the array to be in the format array=[[xvalue1,yvalue1,zvalue1],[xvalue2,yvalue2,zvalue2]]
Brian Kreidberg
  • 179
  • 1
  • 13
7
votes
2 answers

PCL library, how to access to organized point clouds?

I have a very simple question: I have an organized point cloud stored in a pcl::PointCloud data structure. If I didn't get it wrong, organized point clouds should be stored in a matrix-like structure. So, my question is: is there a…
Federico Nardi
  • 510
  • 7
  • 19
7
votes
1 answer

How to convert the depth map to 3D point clouds?

When I convert depth map to 3D point cloud, I found there is a term called scaling factor. Can anyone give me some idea what scaling factor actually is. Is there any relationship between scaling factor and focal length. The code is as…
d19911222
  • 79
  • 1
  • 1
  • 2
7
votes
4 answers

Point Cloud Library with Visual Studio 2017

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…
7
votes
1 answer

Point Clouds File Formats (PCL)

I’m new to Point Clouds and I’m very enthusiastic about the whole concept so I searched a bit and found the Point Cloud Library (PCL). http://www.pointclouds.org I was expecting PCL to load most of the popular point cloud file formats but as far as…
neosettler
  • 261
  • 3
  • 14
7
votes
1 answer

Visualize pointcloud

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…
JTIM
  • 2,774
  • 1
  • 34
  • 74
7
votes
4 answers

Point cloud registration using PCL Iterative closest point

I try to perform ICP with PCL, but pcl::transformPointCloud doesn't work. This my code: int main () { pcl::PointCloud::Ptr cloudIn (new pcl::PointCloud); pcl::PointCloud::Ptr cloudOut (new…
lotfishtaine
  • 111
  • 1
  • 3
  • 10
7
votes
2 answers

Save pcl::PointCloud in format compatible with Meshlab

Is there any function in PCL library to save pcl::PointCloud point cloud in format XYZRGB that can be opened with Meshlab? Seems pcl::io::savePCDFileASCII (filename, cloud); stores RGB values in some specific way.
mrgloom
  • 20,061
  • 36
  • 171
  • 301
7
votes
2 answers

Rotation and Transformation of a plane to XY plane and origin in PointCloud

I have a point cloud that is known to contain the floor. This is oriented in some unknown direction and is not at the origin (0,0,0). I have to move the floor_plane to XY plane, so that the floor_plane lies on XY plane move the centroid of…
pr4n
  • 2,918
  • 3
  • 30
  • 42
7
votes
1 answer

how to pick two points from viewer in PCL

I would like to pick two points from pointcloud and return coordinates of the two points. In order to get down to the problem, I have used the PointPickingEvent of PCL, and written a class containing pointcloud, visualizer, and a vector to store…
just_rookie
  • 873
  • 12
  • 33
1
2
3
93 94