Description Usage Arguments Value Examples
View source: R/step5_compare3D_brute.R
Does the same thing as 'calculateCCFmaxNew()', except images are normalized by the square-root of the sum of squares. With both mean and sum of squares normalized, maximizing cross-correlation is equivalent to minimizing mean-squared error.
1 | calculateCCFmaxNorm(image1, image2)
|
image1 |
first image matrix |
image2 |
second image matrix. The two images should be the same size. |
A list with four items: 1) maximum correlation taking into account many possible rotations and translations of the second image, 2) the corresponding dx, the horizontal translation, 3) dy, the vertical translation, and 4) theta, the corresponding rotation angle.
1 2 3 4 | ## Not run:
calculateCCFmax(processedExample, processedExample2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.