Page 1 of 1

DICE coefficient, Hausdorff's Distance and Chamfer Distance

Posted: Mon Oct 28, 2024 3:57 pm
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?

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

Posted: Tue Oct 29, 2024 10:16 am
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.

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

Posted: Wed Oct 30, 2024 7:12 am
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?

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

Posted: Fri Nov 01, 2024 2:49 pm
by daniel
Once you compute the Cloud-to-cloud distances, you can filter the points with 0 (or close to 0) distances.