vmtkcenterlines script profileidlist points order

Hello everyone,

I am currently trying to automatize the extraction of centerlines in my python script, using vmtk.

From the command line one can specify the id of the source and target points by setting seedselector to “profileidlist”. My problem is to understand how these points are ordered.

In other words, how are the open profiles barycenters computed by the script ordered ? Maybe according to the z coordinate ?

Thanks in advance

@scarpma I believe you are right about the ID’s being ordered by Z height.