MEsh formation in Cloud Compare

Feel free to ask any question here
Post Reply
Gayathri_S
Posts: 4
Joined: Wed Mar 29, 2023 7:14 am

MEsh formation in Cloud Compare

Post by Gayathri_S »

Hi all

I am new to 3d data analysis and for using cloud compare application. I need to calculate the volume of the object from the point cloud data in .pcd format.
The 3d cam data was taken from one view and I selected an approach for forming mesh from the point cloud data. I am currently using Delaunary 2.5d(xy plane) mesh forming algorithm. When i try to calculate the volume for the mesh generated, getting warning like mesh has some holes and the volume got is also not matching with the actual volume.

Also want to do convex hull and concave hull for the mesh created in cloud compare.

Thanks in advance!
Attachments
Screenshot from 2023-04-11 17-30-03.png
Screenshot from 2023-04-11 17-30-03.png (36.57 KiB) Viewed 8550 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MEsh formation in Cloud Compare

Post by daniel »

Sorry for the delay.

Well, it doesn't look to be simple (at least not with CloudCompare). You indeed either need a closed mesh (you can try your luck with the Poisson Reconstruction plugin, but I wouldn't expect too much of it with so few points). Or you can use the 2.5D Volume calculation tool (see https://www.cloudcompare.org/doc/wiki/i ... .5D_Volume), working directly with the cloud.
Daniel, CloudCompare admin
DA523
Posts: 166
Joined: Mon May 25, 2020 4:02 pm

Re: MEsh formation in Cloud Compare

Post by DA523 »

Convex hull (meshing) is super easy in Meshlab
Concave hull (meshing ) is super tricky in all software
Gayathri_S
Posts: 4
Joined: Wed Mar 29, 2023 7:14 am

Re: MEsh formation in Cloud Compare

Post by Gayathri_S »

daniel wrote: Mon Apr 17, 2023 5:08 pm Sorry for the delay.

Well, it doesn't look to be simple (at least not with CloudCompare). You indeed either need a closed mesh (you can try your luck with the Poisson Reconstruction plugin, but I wouldn't expect too much of it with so few points). Or you can use the 2.5D Volume calculation tool (see https://www.cloudcompare.org/doc/wiki/i ... .5D_Volume), working directly with the cloud.
Will it be possible for you explain what is happening in 2.5D volume calculation in cloud compare. My assumption is we need to give ground cloud data and object cloud data. The empty cell region in the occlusion region should be handled either by averaginf or by interpolation. Projecting in Z
(height) direction is used to calculate the height of the particular cell.
Gayathri_S
Posts: 4
Joined: Wed Mar 29, 2023 7:14 am

Re: MEsh formation in Cloud Compare

Post by Gayathri_S »

Hi

I am attaching the point cloud data for which i need to calculate volume. I have tried forming mesh for the data along with ground cloud merged with the object ground data. The mesh formed resulted in gaps. The volume computation is inaccurate.

Since the forum doesnt support upload of .pcd and .obj data am attaching the screenshot of those file. The aim is to create closed mesh with the given point cloud data and should calculate the volume for the mesh.

Thanks
Attachments
413_point_cloud.png
413_point_cloud.png (63.77 KiB) Viewed 8590 times
mesh formed from point cloud
mesh formed from point cloud
413_mesh.png (76.73 KiB) Viewed 8590 times
DA523
Posts: 166
Joined: Mon May 25, 2020 4:02 pm

Re: MEsh formation in Cloud Compare

Post by DA523 »

Forum accepts attaching zip file less than 2 mb
You can zip just pc not mesh
Gayathri_S
Posts: 4
Joined: Wed Mar 29, 2023 7:14 am

Re: MEsh formation in Cloud Compare

Post by Gayathri_S »

Hi

I am attanching the cloud point for the above mentioned case. My interest is to calculate volume. So forming mesh is the first step. Need to form the closed mesh without convex hull method in order to approximate closely to the real volume value.
Attachments
413_center_55_merged_with_ground.zip
(807.64 KiB) Downloaded 607 times
DA523
Posts: 166
Joined: Mon May 25, 2020 4:02 pm

Re: MEsh formation in Cloud Compare

Post by DA523 »

If this is your actual shape
1- Your 3 pointscloud is dense so 2.5d volume tools can find volume to ground (must segment each one)
2- Meshing is possible by CC but processing in BLENDER (extrude to almost ground .. etc)

.
mesh.png
mesh.png (76.5 KiB) Viewed 7465 times
SO

============= CYLINDER 2.5d volume ================

Volume: -0.026
Surface: 0.053
----------------------
Added volume: (+)0.000
Removed volume: (-)0.026
----------------------
Matching cells: 28.5%
Non-matching cells:
ground = 0.0%
ceil = 71.5%
Average neighbors per cell: 7.5 / 8.0

============= PISTON 2.5d volume =============
Volume: -0.033
Surface: 0.051
----------------------
Added volume: (+)0.000
Removed volume: (-)0.033
----------------------
Matching cells: 27.9%
Non-matching cells:
ground = 0.0%
ceil = 72.1%
Average neighbors per cell: 7.8 / 8.0

====================================
Edit ---> Mesh ---> Measure Volume
[21:49:39] [Mesh Volume] Mesh 'piston': V=0.0326455 (cube units)
[21:49:52] [Mesh Volume] Mesh 'cylinder': V=0.0244805 (cube units)


find atatched bin file in 7z file (archive)
..
Attachments
shape2.7z
(1.56 MiB) Downloaded 610 times
DA523
Posts: 166
Joined: Mon May 25, 2020 4:02 pm

Re: MEsh formation in Cloud Compare

Post by DA523 »

cylinder.png
cylinder.png (18.91 KiB) Viewed 7463 times
..
..
piston.png
piston.png (36.88 KiB) Viewed 7463 times
..
For Convex Hull
use MESHLAB software
Filters ---> Remeshing --> convex hull
Post Reply