landmarks_dist {pliman} | R Documentation |
Computes the distance between two landmarks as the square root of the sum of the squared differences between each coordinate (Claude, 2008).
landmarks_dist(x)
x |
An object computed with |
A matrix with the distances for each landmark combination.
Borrowed from Claude (2008), pp. 49
Claude, J. (2008) Morphometrics with R, Use R! series, Springer 316 pp.
if(isTRUE(interactive())){
library(pliman)
img <- image_pliman("potato_leaves.jpg")
x <- landmarks(img)
landmarks_dist(x)
}