Compute the Euclidean distance between two toolmark patterns. The striation patterns are not aligned before the distance is calculated.
get_D(y1, y2, normalize = TRUE, resolution = 0.645)
y1 | vector of equi-distant toolmark values |
---|---|
y2 | vector of equi-distant toolmark values |
normalize | should the result be normalized to 1000 microns (1 millimeter)? Defaults to TRUE. |
resolution | microns per pixel. Only used for normalization. |