Hi!
I have a heap (~600) specimens to landmark so have created a loop to streamline the landmarking process.
for(i in 1:length(ply_files)) {
spec3D <- vcgPlyRead(ply_files[i], updateNormals = TRUE)
surf.pts <- digitsurface(spec = spec3D, fixed = 12)
}
I am having two issues. 1) once I have placed the 12th fixed landmark, it opens the next specimen in the RGL window, without showing me how the sliding landmarks placed on the specimen so I can't check for errors, and 2) the landmark file saves as spec3D.nts instead of the original file number (eg HS051.nts) which would mean all subsequent files will overwrite the previous one.
I would love some advice on how to correct the code to fix these two issues.
Cheers,
Helen