extract_feature_length_mm | R Documentation |
Signatures will usually be of different lengths. In a comparison, the length of the shorter signature represents the potential length for a match.
extract_feature_length_mm(aligned, resolution)
aligned |
data frame with variable x (for location) and two or more measurements (the bullets entry in the list returned from sig_align) |
resolution |
micron per pixel resolution |
length of the shorter signature in millimeters.
Other alignment-related-features:
extract_feature_D()
,
extract_feature_ccf()
,
extract_feature_lag()
,
extract_feature_lag_mm()
,
extract_feature_length()
,
extract_feature_overlap()
,
extract_features_all()
## Not run:
library(bulletxtrctr)
library(x3ptools)
example_data <- bullet_pipeline(
location = list(
Bullet1 = c(hamby252demo$bullet1[2]),
Bullet2 = c(hamby252demo$bullet2[4])
),
x3p_clean = function(x) x %>%
x3p_scale_unit(scale_by=10^6) %>%
rotate_x3p(angle = -90) %>%
y_flip_x3p()
)
alignment <- sig_align(example_data$sigs[[1]]$sig,
example_data$sigs[[2]]$sig)
extract_feature_length(alignment$lands)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.