Description Usage Arguments Value Examples
Given two processed (and possibly rotated) images, compute the cross-correlation function and return the largest correlation value and its associated translation parameters.
1 | comparison(image1, image2)
|
image1 |
first image matrix |
image2 |
second image matrix. Note that the two matrices have to be the same size. |
A list with three items: 1) maximum correlation taking into account all possible translations, 2) dx, the horizontal translation corresponding to the maximum correlation, and 3) dy, the vertical translation corresponding to the maximum correlation.
1 2 3 4 | ## Not run:
comparison(processedExample, processedExample2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.