Questions tagged [point-cloud-library]
The Point Cloud Library (PCL) is a standalone, large scale, open (BSD licensed) project for 3D point cloud processing.
1,380
questions
0
votes
0
answers
12
views
Matching rgb image pixels with corresponding pointcloud data
i have a oak-d camera with it i have captured color image, depth image and corresponding point cloud.please refer the picture and i want to match glass bottle pixels in the color image to glass bottle ...
0
votes
1
answer
22
views
How to compute spin image descriptors with pcl
I have a point cloud using the c++ pcl library and I would like to compute the spin image descriptor for each point. I have tried with the implemanted SpinImageEstimation class in pcl but I get a ...
0
votes
1
answer
13
views
Filtering on pointcloud using cloudcompare
I want to perform a few filtering techniques on pointcloud data (given '.ply' file).
I wondered if it is possible to perform the filtering techniques such as
omnivariance, anisotropic using ...
-1
votes
1
answer
38
views
why cmake not compiling for pcl
I am trying to compile freshly installed PCL library in WSL. I followed the steps given in the thread: https://stackoverflow.com/questions/58040066/how-to-compile-point-cloud-library-pcl-with-examples-...
0
votes
0
answers
17
views
how to convert .stcm file to pointcloud or CSV
I have a lidar that gives me output as a test.stcm I want to write a script that converts the .stcm to CSV or point cloud form. I used the following script but it doesn't work
import laspy
import pcl
#...
0
votes
1
answer
29
views
PCL: Populate Organized PointCloud by Index
I have worked with PCL for a few days now, but cannot get around one Problem:
I got a dense, organized PointCloud<PointT> cloud_1 and want to populate a second, new PointCoud PointCloud<...
0
votes
0
answers
23
views
Point cloud library (PCL) C++ exception when tying to run
i am trying to use PCL with a V1 Microsoft Kinect camera to do 3D mapping. I have installed it and used Cmake to create the project using visual studio 2019 when i try to run the file "...
0
votes
1
answer
31
views
Why does pcl::PointNormal RANSAC cylinder model state that it does not contain normals when estimating model coefficients?
I have been trying to fit a cylinder model to a generated point cloud using the pcl tools. I have been adapting the example code that is provided in the documentation here.
From my understanding, the ...
0
votes
2
answers
57
views
How to convert (ROS) "geometry_msgs/Point" to sensor_msgs/PointCloud2?
I'm a student studying LIDAR algorithm. I have a LIDAR code that subscribes to sensor_msgs/PointCloud2.
and I'm receiving geometry_msgs/Point data now. I wanna convert geometry_msgs/Point to ...
0
votes
0
answers
31
views
PCL addpointcloud interface in debug mode normal operation release mode error
I am a newbie in point cloud library and currently I have a problem like the title.I've been debugging in debug mode before, but now I need to release so I'm debugging in release mode for the first ...
0
votes
0
answers
25
views
How can I modify/overwrite a pointcloud ply file with python?
I have read the lon dress pointcloud.ply file and I converted theRGB channel into ycbcr so from x,y,z,r,g,b 6channelt to x,y,z,ycbcr 4 channel. But I couldn't find how to overwrite the original ply ...
0
votes
0
answers
16
views
How can I change the RGB channels from pointclouds.ply file with relative luminance?
I have separated the rgb channel into a new dataframe from x,y, z coord. Now I am stuck at iterating thw conversion calculations over 800k rows within the rgb dataframe. I dont know how to go through ...
0
votes
1
answer
56
views
How to extract points that belong to a vertical plane from a point cloud using PCL?
I want to write a program that takes a point cloud data and extract the set of points that belong to a vertical plane. The process mustn’t take more than 100 milliseconds. What is the best way to do ...
0
votes
0
answers
30
views
Comparing 2 pointclouds of different sizes
The aim of the program is to compare a set of 29 prior map scans to a set of 600 scans.
The prior map is made up of a 32 beam lidar, but the query scans are made up of either 16 beam lidars or 64 beam ...
0
votes
0
answers
48
views
People detection using PCL libraries and Pointclouds
I am trying to use RGBD based people detection on a pointcloud merged from two individual real sense d415 cameras mounted vertically, image below.
The merge is performed by transforming the ...
1
vote
1
answer
37
views
std::length error when using PCL Ground_based RGBD detection
I am facing an issue with Ground-based RGBD people detection (https://pcl.readthedocs.io/projects/tutorials/en/latest/ground_based_rgbd_people_detection.html). The error is inconsistent and hence has ...
0
votes
2
answers
133
views
How do I downsample a point cloud to have a specific number of points so I can feed new data to a model based on PointNet?
I want to make my own dataset so I can use it for training and testing purposes. The problem is that I can handpick the points for training and testing to be a certain number of points (4096 in my ...
-1
votes
1
answer
117
views
How do i convert a las file into a txt (or csv) file in python?
As the title suggested, how can i convert a .las file in a .txt or .csv file? Does laspy library do that?
Someone suggested to use pdal (.LAS into a .CSV file using python) but it is not clear how to ...
0
votes
0
answers
18
views
How to filter point cloud data in ellipse?
In point cloud filtering, there is radius filtering, that is, filtering inside the sphere. I want to change the range of filtering from sphere to ellipsoid. How to achieve this.I want to do it in c++ ...
2
votes
1
answer
111
views
How do we visualize csv point cloud data?
I am having an xyz file I want to preprocess and save it as a df, how do I visualize the csv file or convert it into xyz or las format in python
0
votes
0
answers
77
views
Point Cloud Stitching real time
I am trying to stitch two point cloud inputs from real sense D415 cameras, with overlap real time. I am facing issues with two aspects,
Duplicate points also being added - The points which overlap ...
0
votes
0
answers
27
views
Spherical projection of a pointcloud to keep it organised
As stated in this question, it is necessary to have an organized pointcloud for most functions, I was wondering how to convert my uorganized pointcloud to organized? Something like "So I ...
0
votes
2
answers
105
views
Not able to install Point Cloud Library onto python using conda
Hi all I am having a hard time installing the PCL or point cloud library onto python using the function conda install -c conda-forge pcl. I am getting all types of errors and it is not installing pcl ...
0
votes
0
answers
46
views
Point Cloud Stitching and Processing
I have pointclouds from two realsense D415 cameras, which is mounted in a way to have overlap. I am able to stitch the output pointclouds in realtime to get a single larger FOV pointcloud by using ...
0
votes
0
answers
16
views
Point Cloud intensity change using track bar
environment : C++ QT 5.13.2, MSVC 2017, PCL 1.8.1, OpenCV 4.0.0, VTK 8.0
I am using intel realsense L515 to create the point cloud.
after getting the point cloud, I want to measure some data for each ...
0
votes
1
answer
56
views
Collision detection with octrees realized with python-fcl
I want to finish the collision detection with point cloud represented by Octrees. With the python-fcl lib, I tried the following code snippet by myself
x = np.random.random([5, 3])
y = np.random....
0
votes
1
answer
64
views
CMake: Undefined reference to OrganizedMultiPlaneSegmentation
I'm trying to use PCL's organized_multi_plane_segmentation. But when I compile, I hit this error:
/usr/bin/ld: CMakeFiles/multiplane.dir/multiplane.cpp.o: in function `main':
multiplane.cpp:(.text+...
0
votes
1
answer
52
views
Detect if there is an error when importing a point cloud and display alert message without closing application PCL and C++
I am trying to import a point cloud into a program I have made with the PCL and C++ library. This program must be able to load different files and that, in case of encountering one that has some error ...
0
votes
1
answer
102
views
How can I generate a batch of 3D point clouds from random noise using Tensorflow
I am trying to generate a batch of point clouds/mesh from noise in 3D. I need this to act as a bunch of initial random guess before I can apply optimization on top of it. Existing methods are tailored ...
0
votes
0
answers
75
views
Reading literal float or 5.1f from config file not working with Eigen::Vector4f in C++
I have a config file which contains this crop_min_x = -5.0f. I am trying to read this from my C++ program using the below code
std::ifstream config_file_path("config.txt");
std::string ...
1
vote
1
answer
195
views
double free or corruption (out) error at the end of ROS2 C++ subscriber callback function when used with PCL
System used: ROS2 foxy on Ubuntu 20.04 with PCL 1.10 installed on amd64 architecture.
I have created a C++ subscriber for ROS2 topic velodyne_points of the message type sensor_msgs::msg::PointCloud2. ...
0
votes
0
answers
155
views
connected components of triangle faces in a mesh
I have a list of vertices and faces which index the vertex:
For example the list of vertices are (x,y,z) :
0 1 0
1 1 1
2 0 1
3 0 0
1 1 2
...
...
...
Faces that index the vertex:
0 1 2
2 3 4
4 0 1
... ...
0
votes
1
answer
21
views
pcl visualizer What's the meaning of getViewerPose
I don't quite understand what pose is returned by pcl::visualization::PCLVisualizer::getViewerPose. Is this pose relative to the viewer? or something else? If yes, how is the initial pose of the ...
2
votes
1
answer
107
views
Range_Image of PCL crashes Application
I am using the precompiled/All-in-One PCL (PointCloudLibrary) in release-version 1.12.1 for Windows.
IDE: Visual Studio 2019
With that, I am already able to use the visualizer, so parts of the ...
0
votes
1
answer
151
views
Add new points in .PLY file
i'm trying to add new line in my .ply files using PlyData:
from plyfile import PlyData, PlyElement
import numpy
with open(filepath, 'rb') as f:
plydata = PlyData.read(f)
vertex = numpy.array([...
0
votes
1
answer
261
views
3D object recognition with Point cloud library (PCL)
I am a new at Point cloud library. I'm trying to do example from website https://pcl.readthedocs.io/projects/tutorials/en/master/correspondence_grouping.html#correspondence-grouping
There is very good ...
0
votes
2
answers
375
views
Is there a way to find and modify the color of a point in a .ply file using python?
i'm trying to modify the color of a set of points in a .ply file using python, can u know some method to do it?
Thank you
I have searched some examples on internet but i haven't found anything
0
votes
0
answers
48
views
How to determine cluster rotation around z-axis?
I have a <PointXYZ> cloud that needs to be clustered.
I've used pcl::EuclideanClusterExtraction to extract the clusters,
Also, I've used pcl::computeCentroid(*(cluster),centroid) to get the ...
0
votes
0
answers
55
views
How to add texture to an OBJ?
I am currently working with the Intel RealSense D455 scanner with the PCL library and more precisely with the Fast Organized Mesh method to generate a mesh in OBJ format.
I can get a mesh of the scene ...
0
votes
1
answer
184
views
How to generate "Faces" using the PCL Fast Organized Mesh method?
In order to generate a mesh with the intel RealSense D455, I used the PCL library and more precisely the Fast Organized Mesh method. I manage to generate a mesh in OBJ format but it only contains ...
0
votes
0
answers
92
views
Error in calculating Rotational Projection Statistics (RoPS) feature using PCL
I'm working on this Rotational Projection Statistics (RoPS) example from the following link.
https://robotica.unileon.es/index.php?title=PCL/OpenNI_tutorial_4:_3D_object_recognition_(descriptors)#RoPS
...
0
votes
0
answers
70
views
How to visual a colored mesh from a OBJ file only with vertex color (without MLT file) in PCL?
I want to visual a OBJ file with color in PCL visualizer.
PCL provides pcl::io::loadPolygonFileOBJ() and pcl::io::loadOBJFile() to load data to pcl::TextureMesh.
But these two functions require that ...
1
vote
0
answers
105
views
What curvature type is the pcl::Normal class implementing?
I need to calculate the discrete mean curvature of each point of a point cloud. I was wondering if the curvature member of pcl::Normal is already the dmc as its calculated based on a search radius, or ...
1
vote
1
answer
133
views
Add namespace pcl functions and PointT in header file
I have a header file preprocess.h in the include folder that simply does noise removal from a point cloud. The point type of point cloud does not exist in the pcl library so I have to create a custom ...
1
vote
1
answer
153
views
Is there an implementation of SIFT descriptor for Point Cloud?
Does anyone know where I can find an implementation of SIFT descriptors for Point Cloud? Point Cloud Library has code for SIFT keypoints detection that's not what I'm looking for. Thanks!
0
votes
0
answers
54
views
PCL library ICP algorithm return wrong transformation matrix
I just started to use PCL library to deal with the classic ICP problem, and to begin with, I tested it out the ICP function by calculating the transformation between two pair of 3D points, with each ...
0
votes
1
answer
682
views
Convert point cloud from pointcloud2 (rosbag) to bin (KITTI)
How can I convert a point cloud saved in rosbag, in format sensor_msgs/PointCloud2, to .bin files in KITTI format?
I know that it is possible to convert to .pcd (http://wiki.ros.org/pcl_ros#...
0
votes
0
answers
50
views
ValueError in fit function of trainnig
I am training dataset on pointnet model. Ι have this error and i dont know what should i do.
def conv_bn(x, filters):
x = keras.layers.Conv1D(filters, kernel_size=1, padding="valid")(x)
x = ...
0
votes
0
answers
42
views
How do i write code with pcl::HarrisKeypoint2D?
My purpose is to extract Harris corner from Point Cloud Data(collected from the road)
pcl::HarrisKeypoint2D<pcl::PointXYZI, pcl::PointXYZI, pcl::common::IntensityFieldAccessor<pcl::PointXYZI&...
0
votes
1
answer
63
views
Is there any way to save local and global descriptors as txt instead of pcd in Point Cloud Library?
I have used this script to generate local and global descriptors from a point cloud. The script lets you save the descriptors in PCD format (line 105 of the script) but I'm having trouble loading the ...