Messed up semi-landmark names after resampling

Hi all, I have a few CT scannings of shells, and I have reconstructed 3D meshes in stl format. I would like to use semi-landmarks to capture some curves, the do a PCA in R with geomorph. My slicer version is 5.6.2.

I used Curve function under markups, after manually placing the semi-landmarks, I used Resample fuction to make them evenly distributed.

However, if the number of resampled points are not equal to the number of points that I manually placed, the name of those landmarks will be messed up: either missing names, or with combined names.

My question is: do the individual semi-landmark names matter in the subsequent analyses? There will be more than one curves, and I think it would be nice to keep names consistent across specimens. Is there a way to fix this?

No, not for SlicerMorph, nor any package I know of. However, the number and sequence of landmarks matter. You need to have exactly the same number of points on your samples, recorded exactly in the same way. So if you go point 1-2-3, but po 3-1-2 in another sample, results will be incorrect.

Sounds good! Glad to know that I don’t need manually rename all the semi-landmarks.

But it would be great if you could automatically update the names of semilandmarks after resampling.

You can write a couple lines of python code to do that. See example of how to get control point properties:

Just make sure that the