converting Intel realsense points to helixtoolkit points
See original GitHub issueI have made a pointcloud using this piece of code using the Intel Realsense:
var points = pc.Process(depthFrame).As<Points>();
//float depth = depthFrame.GetDistance(x, y);
//bbox = (287, 23, 86, 320);
// We colorize the depth frame for visualization purposes
var colorizedDepth = colorizer.Process<VideoFrame>(depthFrame).DisposeWith(frames);
//var org = Cv2.ImRead(colorFrame);
// CopyVertices is extensible, any of these will do:
var vertices = new float[points.Count * 3];
// var vertices = new Intel.RealSense.Math.Vertex[points.Count];
// var vertices = new UnityEngine.Vector3[points.Count];
// var vertices = new System.Numerics.Vector3[points.Count]; // SIMD
// var vertices = new GlmSharp.vec3[points.Count];
// var vertices = new byte[points.Count * 3 * sizeof(float)];
points.CopyVertices(vertices);
And I found out that I need to convert the points to point3d so that it can be used in Point3D collection but I don’t know how to do that. Can someone help me with this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:49 (23 by maintainers)
Top Results From Across the Web
Display point cloud continuous c# Intel Realsense
You can convert your point cloud directly into helixtoolkit supported points format and update the point model.
Read more >Converting RealSense Pointcloud to PCL Pointcloud
Saving of the Point Cloud is not a problem, I know how to save it. Function points_to_pcl(points) converts only XYZ values, not RGB....
Read more >Projection in Intel RealSense SDK 2.0
Coordinates within this space are referred to as "points", and are used to describe locations within 3D space that might be visible within...
Read more >Capturing a 3D Point Cloud with Intel RealSense and ...
How to use the RealSense Viewer sample to capture a 3D point cloud, and then convert it to a model using MeshLab for...
Read more >Projection, Texture-Mapping and Occlusion with Intel ...
The process of converting from world to camera pixel coordinates is called projection. The projection process depends on a point in world coordinates...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And when I try your program I see the points so I will keep trying with my code
Hi @Xander-Vreeswijk , Just a short info: I have made a small test project and now I can reproduce the error you mentioned.