Description Usage Arguments Examples
Product of affine transformations
1 |
x |
tibble of Registrations as issued from |
1 2 3 4 5 6 7 8 9 10 11 12 | v1 <- round(rnorm(12), digits = 2)
v2 <- sample(1:10, 12, replace = TRUE)
good_res <- crossprod(matrix(c(v1, 0, 0, 0, 1), 4, 4, byrow = TRUE),
matrix(c(v2, 0, 0, 0, 1), 4, 4, byrow = TRUE))
x <- tibble::tibble(
regis_name = c(1,1),
Timepoint = c(1,1),
Setup = c(1,1),
vector_Affine = list(v1 = v1, v2 = v2))
identical(good_res, prod_affine_registration(x)$prod_affine[[1]])
# Both should be equal but solve uses approximations
identical(solve(good_res), prod_affine_registration(x)$prod_affine_inv[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.