quantifying how good a mesh of a ball is

Feel free to ask any question here
Post Reply
tamir.e
Posts: 5
Joined: Wed Apr 16, 2014 11:49 am

quantifying how good a mesh of a ball is

Post by tamir.e »

Hi Daniel,
First i would like to thank you again for the SW, it's very use-full.
I have several meshes created by different 3D scanners of the same ball.
Image
I would like to be able to quantify which mesh gives a better representation of the ball.
for example:
1.what is the valid percentage of the ball scanned
2.whats the STD for each pixel.
i used RANSAC algorithm to create a speculated ball, now i would love to extract the data above.
Image
is this possible using CC?
Thanks,
Tamir
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: quantifying how good a mesh of a ball is

Post by daniel »

Yeah, there's several ways to do this.

The simplest: if you have enough vertices on your original mesh, simply select its vertices and the sphere primitive generated by qRansacSD (should be beneath the sub-cloud corresponding to this spherical part in qRansacSD output). Then compute the cloud/mesh distances between those two entities (Tools > Distances). This will give you numerical estimations of how well the original mesh 'fits' to a sphere. Afterwards you can also segment the vertices based on their distance to the sphere (Edit > Scalar fields > Filter by value). So you can determine how many points are close, far, very far, etc.

If the meshes have too few vertices, you can use the same workflow by sampling (a lot of ) points on the original mesh and use the resulting cloud instead of the vertices.
Daniel, CloudCompare admin
Post Reply