findTransformECC | R Documentation |
findTransformECC
computes the geometric transform between
two images in terms of the Enhanced Correlation Coefficient criterion.
findTransformECC(
template,
image,
warp_matrix = NULL,
warp_mode = "affine",
max_it = 200,
epsilon = 0.001,
mask = NULL,
filt_size = 0
)
template |
A grayscale |
image |
A grayscale |
warp_matrix |
An initial mapping (warp) matrix. It must be a 3x3 matrix
when |
warp_mode |
A character string indicating the type of warping required
to transform
|
max_it |
The maximum number of iterations (default: 200). |
epsilon |
The convergene tolerance (default: 1e-3). |
mask |
A binary |
filt_size |
The size in pixels of a gaussian blur filter applied to the images before computation of the transform. When set to 0 (the default), no filtering is applied. |
A 2x3 or 3x3 (if warp_mode = "homography"
) matrix.
Simon Garnier, garnier@njit.edu
Evangelidis, G. D., and Psarakis, E. Z. (2008). Parametric image alignment using enhanced correlation coefficient maximization. IEEE Trans. Pattern Anal. Mach. Intell. 30, 1858–1865. doi:10.1109/TPAMI.2008.113.
computeECC
, findTransformORB
file1 <- system.file("sample_img/balloon1.png", package = "Rvision")
file2 <- system.file("sample_img/balloon2.png", package = "Rvision")
balloon1 <- changeColorSpace(image(file1), "GRAY")
balloon2 <- changeColorSpace(image(file2), "GRAY")
findTransformECC(balloon1, balloon2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.