jbruening / pclsharp Goto Github PK
View Code? Open in Web Editor NEWPoint Cloud Library pinvoke binding for c#
Point Cloud Library pinvoke binding for c#
I write a thesis on lidar data. c ++ is a difficult language for me because I usually use Matlab. I need to analyze and process the data. But some .tt files in the solution are not working well and I realized that they do not produce some files. I am waiting for your help with the topic. thanks for your interest.
For a project I would like to use the Registration functionality. Is this schedules for the current library?
Hi,
Sry if this is a beginner question, im generally new to the point cloud library so might have missed smt. I'm trying to compute the surface normals of a point cloud, and in the cpp documentation, a NormalEstimation class is used for that purpose. I've combed through the PclSharp library but couldnt find anything that seems to be equivalent. It's hard to imagine that something as fundamental as normal calculation is missing, so I figured maybe its buried somewhere in the code.
Im using unstructured point clouds, so AFAIK i cant use the IntegralImageNormalEstimation either. Thx in advance!
Eigen::Matrix4f Ti = Eigen::Matrix4f::Identity (), prev, targetToSource;
PointCloudWithNormals::Ptr reg_result = points_with_normals_src;
reg.setMaximumIterations (2);
for (int i = 0; i < 30; ++i)
{
PCL_INFO ("Iteration Nr. %d.\n", i);
// save cloud for visualization purpose
points_with_normals_src = reg_result;
// Estimate
reg.setInputSource (points_with_normals_src);
reg.align (*reg_result);
//accumulate transformation between each Iteration
Ti = reg.getFinalTransformation () * Ti;
1-how to get from reg.FinalTransformation, position rotation and scale ?
2-in c# i cant multiply matrix4f*matrix4f (line "Ti = reg.getFinalTransformation () * Ti")
3-i cant find reg.hasConverged() !!!
4-where can i find a complete example use of registerationof point clouds and reconstruction mesh from that in pclsharp?
please help me.
thanks in advance.
It's possible to include the module SACSegmentationFromNormals to the Segmentation class? Or a tutorial on how to include features from PLC to the wrapper?
I pulled in the package from Nuget and wanted to test the visualization. I was trying to run the vis test code and VS cannot resolve/find PCLSharp.Vis.
I wrote a quick test application which reads in a point cloud text file and tries to store it inside of a PointCloudOfXYZ. When I call the constructor for PointCloudOfXYZ it, I'm getting a DLLNotFoundException for PclSharp.Extern.dll. Not sure why the DLLImport can't find the file. This is running the x64 debug/release versions.
Hi,
c++ dlls (pclsharp.extern.dll and pclsharp.externvis.dll) compile x86 platform but I couldn't run this dll. I try some solution but i haven't succeeded. I am waiting for your help with the topic. thanks for your interest.
Some Info :
My problem is access violation.
I use pcl 1.8.1(win32 - release) all in one package. I'm sure pcl and other library released on win32 platform.
Hi,
First thanks for your great effort to make a C# wrapper to PCL!
After call IterativeClosestPoint.align (), there should be a method hasConverged to tell whether it is successfully converge or not? But this method is not found in this wrapper.
thanks for your help. I compiled updated source today and some "ref" values make a problem.
for example
namespace PclSharp
{
public abstract class PointCloud : UnmanagedObject
{
public abstract int Width { get; set; }
public abstract int Height { get; set; }
public abstract bool IsDense { get; set; }
public abstract Vector Points { get; }
public abstract int Count { get; }
public abstract bool IsOrganized { get; }
"""public abstract ref PointT At(int col, int row);""" -> ref value problem
public abstract void Add(PointT value);
}
I unloaded some parts of code which I didn't need to use after source compiled. but this time, i couldn't implement with winform interface. I tried some solutions with vtk based but I couldn't be successful.
I will be very pleased if you can help. thanks for your valuable help.
I suggest it should be possible to load a file into a PolygenMesh, perhaps specifically a .obj file .I need it so that I can for my project load a mesh from file, of which I can generate a point cloud and then downsample these.
Hello,
I would like to use it in Unity. I guess i need to generate dlls and include them in my Unity project.
I've succeeded to build PclSharp c# project but i can't do it for PclSharp.Extern c++ project.
#include <pcl/XXXX> are not recognized by the precompiler.
My PCL version is 1.13.0 and i updated the Paths.props file accordingly.
What i'm doing wrong ?
hi
is the src repository is diffrent from nuget package?
i tried to compile this src but get many missing and errors.
cloud you please update the latest src version ?
please help
thanks
I'm seeing a bunch of these such as in file ConvexHullOfXYZ.generated.cs, line 72.
I am using vs2015, but I compile .net 4.7 framework projects all the time.
I looked up using ref like it is, and I did not see anything sayin that was a valid use, like:
public override ref PointXYZ this[int idx]
Is this something in progress, or is there a setting I need to touch to allow it?
Hi,
I could not find on nuget.org a nuget package containing the merge for PCDWriter.
Could you please run the pipeline for it?
Thank you for your work,
Frank
在 winform 中 调用 visualizer.SpinOnce(),会导致程序自动退出
Hi,
as mentioned in the title, I am trying to use TransformationEstimationSVD from the Registration namespace. It isn't working and I assume it has to be because there are no bindings for it? I have no experience in using a c++ library in a c# program so I'd be very grateful if you could update the code to make that functionality available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.