Learn R Programming

Rvision (version 0.6.0)

computeECC: Enhanced Correlation Coefficient Value

Description

computeECC computes the Enhanced Correlation Coefficient (ECC) value between two images.

Usage

computeECC(template, image)

Arguments

template

A grayscale Image object.

image

A grayscale Image object of the same dimensions as template.

Value

A numerical value.

References

Evangelidis, G. D., and Psarakis, E. Z. (2008). Parametric image alignment using enhanced correlation coefficient maximization. IEEE Trans. Pattern Anal. Mach. Intell. 30, 1858<U+2013>1865. doi:10.1109/TPAMI.2008.113.

See Also

findTransformECC

Examples

Run this code
# NOT RUN {
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")
computeECC(balloon1, balloon2)

# }

Run the code above in your browser using DataLab