Description Usage Arguments Value Examples
Registration parameter estimation
| 1 2 | 
| src, tar | cimg objects | 
| method | character indicating the method to be used | 
| par0 | numeric vector for the initial guess for the registration parameters | 
| verbosity | Numeric indicating the level of verbosity is displayed | 
| ... | parameters to be passed to the optimization algorithm | 
the registration parameters, usually a 2d vector.
| 1 2 3 4 5 6 7 8 9 10 | src <- cameraman
tar <- shift(cameraman, c(5,-15))
round(s <- register(src, tar, method = 'coarse', steps = 4), 4)
tar <- shift(cameraman, c(-1.155, 3.231))
round(s <- register(src, tar, method = 'taylor', tol = 1e-4), 4)
tar <- transform(cameraman, c(c(-1.155, 1.231, 0.121)))
round(s <- register(src, tar, method = 'taylor3', tol = 1e-4, maxiter = 100), 4)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.