Questions tagged [pcl]
143 questions
0
votes
1 answer
Initializing (and fill) a pcl::PointCloud with each points index in an image
I am new to PCL and I am sorry if it is a trivial question.
I was wondering if there is a "simple" way to do this:
I have a costume "point cloud" of 3dPoints (X, Y, Z). I have each 3dPoint's pixel index as demonstrated below:
(0)…

HSA
- 13
- 4
0
votes
0 answers
How can I flip some normals of vertex geometry in three.js?
I have tested PCL triangluation introduced here:
And from the experiment I got a .vtk file.
And I tried to render it via web browser whith three.js on windows.
It is like below:
See! There are many holes. These holes are triangles that have…

Jumogehn
- 1,102
- 3
- 11
- 29
0
votes
1 answer
How do I intialize a Search tree pointer for SACSegmentation?
From PCL I am using SACSegmentation function in order to find a specific shape from a Point Cloud. One of the options I wish to use is called setSamplesMaxDist(A,B).
A is the radius (double variable) while B is set with SearchPtr.
I am not sure how…

Car2020
- 1
0
votes
0 answers
Error com.opennetcf.extensions.pcl is not compatible with netstandard1.5
I'm trying to understand the root of this error:
Package com.opennetcf.extensions.pcl is not compatible with netstandard1.5
I get it when I try to update xamarin essentials from nuget in my xamarin forms project. If I don't update that package, the…

CYAD
- 985
- 2
- 14
- 21
0
votes
3 answers
no matching function for call to ‘std::set::insert(std::size_t&)
I am working on migrating my package from ros melodic to ros noetic. while doing it I got compilation error in PCL library during cmake. The package is too big I am giving some code where error happened. Any guidance would be helpfull.
This is…

Ab Danyia
- 69
- 7
0
votes
1 answer
convert from pcl::PointCloud to pcl::PCLPointCloud2 ros melodic
I try to convert from pcl::PointCloud to pcl::PCLPointCloud2
But the conversion returns an empty point cloud.
This is my code:
pcl::PCLPointCloud2 cloud_inliers_pcl2;
pcl::toPCLPointCloud2(cloud_inliers, cloud_inliers_pcl2);
I can…

Sant
- 41
- 3
0
votes
1 answer
FIle doesnt exist
I am fairly new to ROS and Ubuntu.
I just followed the instructions as given on: https://pcl.readthedocs.io/en/latest/extract_indices.html
I created a new folder called Extract_Indices in a catkin workspace called catkin_ws2
Then made a new file…

Sant
- 41
- 3
0
votes
0 answers
Memory leak in PCL visualizer and QVTK widget
I m using Ubuntu 20.04 with Qt5.12 for developing a QT project which uses a QVTK widget to display a 3D PCL visualiser. I m facing memory leak issues after defining the visualiser and vtk widget relationship. The header file contents are as…

surajj4837
- 49
- 1
- 10
0
votes
1 answer
Writing / Accessing points in a PointCloud2 structure C++ / ROS / PCL Library
I am currently building a perception pipeline and am having trouble reading the points of my point cloud structure. I am reading in a point cloud into a PointCloud2 Structure and want to be able to write out the points in series of the point cloud…

TheAddie
- 73
- 1
- 6
0
votes
1 answer
when use pcl.1.8.0 to show some sample, but make error when run the code of "triangulationGreedyProjection " and crash in “Memory.h”
environment:
ubuntu18
pcl 1.8.0
some code as follow:
// Greedy Projection triangulation
pcl::PolygonMesh triangulationGreedyProjection(pcl::PointCloud::Ptr xyzCloud) {
pcl::NormalEstimation…

alimagic
- 11
0
votes
0 answers
Including PCL in a Android studio project with cmake
I am running Ubuntu 18. I want to convert an c++ script that I have written into an android app. I saw that Android apps can also run c++ scripts. My script depends on PCL (Point Cloud Library), CGAL and TBB. As a first step I wanted to make sure…

Schimpf
- 23
- 5
0
votes
1 answer
Where to change cmake variable values?
I m having 2 versions of PCL in my UBUNTU 20.04 system, 1.9 and 1.12. In a project I want to use 1.9 version but
include_directories(${PCL_INCLUDE_DIRS})
above line includes version 1.12 in the project.
Where is the PCL_INCLUDE_DIRS value stored and…

surajj4837
- 49
- 1
- 10
0
votes
1 answer
PCL::RegionGrowing on negative Indices
I have a pointcloud from which I extracted a ground plane. Now I want to apply a region growing on all points except for the ground plane. How could I do that efficiently ?
pcl::SACSegmentationFromNormals …

JT93
- 3
- 1
0
votes
1 answer
Find points in pcl pointcloud inside normal space of polygon
If I understand documentation right one can find points in a cloud inside space normal to a defined poly by using pcl::ExtractPolygonalPrismData.
I dont use pcl::isPointIn2DPolygon because my polygon is on x-z plane. So I want to test along…

Pj Toopmuch
- 115
- 10
0
votes
1 answer
pcl::io::loadPCD/PLY gives segmentation fault when compiling with nvcc/cuda
#include
#include
#include
#include
#include
#include
#include
int main(int argc, char*…