# NOT RUN {
data(nose)
###create mesh for longnose
longnose.mesh <- tps3d(shortnose.mesh,shortnose.lm,longnose.lm,threads=1)
### write meshes to disk
save(shortnose.mesh, file="shortnose")
save(longnose.mesh, file="longnose")
## create landmark array
data <- bindArr(shortnose.lm, longnose.lm, along=3)
dimnames(data)[[3]] <- c("shortnose", "longnose")
# }
# NOT RUN {
checkLM(data, path="./",Rdata=TRUE, suffix="")
# }
# NOT RUN {
## now visualize by using an atlas:
atlas <- createAtlas(shortnose.mesh, landmarks =
shortnose.lm[c(1:5,20:21),],
patch=shortnose.lm[-c(1:5,20:21),])
# }
# NOT RUN {
checkLM(data, path="./",Rdata=TRUE, suffix="", atlas=atlas)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab