Skip to content

How to extract all Hausdorff distance data? #34

Answered by alemuntoni
Sukhe1993 asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I did not know that in the quality was stored the distance :)

In PyMeshLab, the MeshSet status it's actualy a "MeshLab session".
If in the MeshSet you have two meshes, the filter hausdorff_distance with savesample = True (be careful here: in python booleans are with the first capital letter) will create two other meshes with id 2 (Hausdorff Closest Points) and 3 (Hausdorff Sample Points). You can then extract the quality which will contain the distance.
vq = ms.mesh(2).vertex_quality_matrix()

Replies: 8 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@marcoagbarreto
Comment options

@alemuntoni
Comment options

@nurulistiqomahbudianti
Comment options

@marcoagbarreto
Comment options

Answer selected by alemuntoni
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #34 on December 17, 2020 14:08.