register: Registration parameter estimation

Description Usage Arguments Value Examples

Description

Registration parameter estimation

Usage

1
2
register(src, tar, method = "taylor", par0 = c(0, 0, 0), verbosity = 2,
  ...)

Arguments

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

Value

the registration parameters, usually a 2d vector.

Examples

 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)

coldfir3/RED documentation built on May 8, 2019, 10:52 p.m.