[MINC-users] Computing vertices average distance

Mishkin Derakhshan mishkind at gmail.com
Thu Jan 27 18:00:04 EST 2011


Hi Francois,

Can you give us some more detail?

Do you have a single .obj file with n vertices and you want to know
the average distance between all of them, or just the central point
(com) of all the vertices?
or, do you have n .obj files, each with m vertices and you want to
know the average distance at a particular vertex, across all .obj
files?

You might want to look at average surfaces which will not give you a
distance, but rather a new .obj file which will contain the location
of the average vertex.

Usage: average_surfaces output.obj  none|rms_file  none|variance_file n_groups
         [input1.obj] [input2.obj] ...

I usually invoke as follows:
average_surfaces average.obj none none 1 surf1.obj surf2.obj

hth,
mishkin


More information about the MINC-users mailing list