# \donttest{
library(rgl)
data(darters)
## bilaterally aligned using only head landmarks
lands.unbent<-unbend.spine(darters$coords[,,3],
darters$land.pairs,deg=3, restricted=darters$restricted)$unbent
plot(lands.unbent[,c(1,3)],asp=1)
lands.unbent<-unbend.tps.poly(lands.unbent,darters$reference,axes=c(1,3),deg=3)
plot(lands.unbent[,c(1,2)],asp=1)
plot3d(lands.unbent, aspect=FALSE)
# }
Run the code above in your browser using DataLab