Converting PointCloud to 2D image

Hello,

Is anyone familiar with a method to generate a 2D grayscale image from a 3D Point cloud in C# ? I saw some methods in Python, but could not find something equivalent in C# yet. Accord.NET might have the capability, but I am not sure how to use it. Links to examples would also be helpful.

Thank you!

Hi @Bovas_Benny,

You might consider posting examples of what you have (point cloud) and what you want to achieve (image).

– Dale

Hi @dale ,

Thank you for replying and apologies for the vague question.

What I am looking for is an image that can represent the depth information from the points. The point clouds are generated from tapes laid on a mold in composite manufacturing. There could be overlaps/ gaps between the tapes. There is a scanner that gives me points across the tapes at a certain spacing. The 3dm file I have attached has a point cloud with a scan interval of 5 mm. The overlaps are missing in this file, so just gaps.


I have made some progress, though it could be in the wrong direction as well. I created a Bitmap by setting each pixel with a color that relates to the depth of the points -

This bitmap is with a scan interval of 1 mm which might not be realistically possible. Is there an interpolation technique that I could use to fill in larger spacings ? The image should be generated in such a way that I can infer the actual gap in Millimeters from the image at a specific length.

PointCloud.3dm (173.4 KB)

Let me know if I can provide more information.
Thanks