DICE coefficient, Hausdorff's Distance and Chamfer Distance

Feel free to ask any question here
Post Reply
Ezaren
Posts: 2
Joined: Mon Oct 28, 2024 3:47 pm

DICE coefficient, Hausdorff's Distance and Chamfer Distance

Post by Ezaren »

Hi,
This is the first time I am using this program and I am having some problems using it. In my thesis I need to compare two models that were made using different modelling techniques. While Mesh Surface Area and Mesh Volume were easy to find, I am having trouble finding and calculating 3 other metrics:
DICE Coefficient
Hausdorff distance
Chamfer distance
I read in a scientific article that this can be calculated in this software, unfortunately it was not written how.
I found that I need to convert the fbx grid to a point cloud, which is easy. However, I am not sure how many points the point cloud should have.
The same as the larger model, or the same as the original. The first model has about 92000 vertices and the second has 19000.
Also is Surface-to-Surface comparison avaiable in this software?
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: DICE coefficient, Hausdorff's Distance and Chamfer Distance

Post by daniel »

So I believe it would be more efficient to ask the article authors directly.

I don't know what DICE coefficients are.

For the Hausdorff distance, they probably refer to the Cloud-to-Cloud distances (and technically, the Hausdorff distance is the smallest Cloud-to-Cloud distance).

And for the Chamfer distance, I believe this may refer to the 'approximate distances' that are displayed in the 'Approximate distances' tab of the C2C and C2M distances computation tools. At least we use Chamfer distances to compute these approximate distance stats.

Any other parameter can only be discussed with the authors...

And regarding surface to surface comparison, we only have a Cloud-to-mesh (C2M) method, where the distances from the vertices of one mesh are compared to the surface (triangles) of the other mesh.
Daniel, CloudCompare admin
Ezaren
Posts: 2
Joined: Mon Oct 28, 2024 3:47 pm

Re: DICE coefficient, Hausdorff's Distance and Chamfer Distance

Post by Ezaren »

Ok, thank you for your answer, as far as the DICE factor is concerned, I can calculate it myself.
I just need to find the common points between the two point clouds. Is there any way I can get such a value?
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: DICE coefficient, Hausdorff's Distance and Chamfer Distance

Post by daniel »

Once you compute the Cloud-to-cloud distances, you can filter the points with 0 (or close to 0) distances.
Daniel, CloudCompare admin
Post Reply