findTransformORB | R Documentation |
findTransformORB
computes the geometric transform between
two images in terms of the ORB feature detector.
findTransformORB(
template,
image,
warp_mode = "affine",
max_features = 500,
descriptor_matcher = "BruteForce-Hamming",
match_frac = 0.15,
homography_method = "RANSAC"
)
template |
A grayscale |
image |
A grayscale |
warp_mode |
A character string indicating the type of warping required
to transform
|
max_features |
The maximum number of features to extract (default: 500). |
descriptor_matcher |
A character string indicating the type of the descriptor matcher to use. It can be one of the followings: "BruteForce", "BruteForce-L1", "BruteForce-Hamming" (the default), "BruteForce-Hamming(2)", or "FlannBased". |
match_frac |
The fraction of top matches to keep (default: 0.15). |
homography_method |
A character string indicating the method used to compute a homography matrix. It can be one of the followings: "LS" (least-square), "RANSAC" (RANSAC-based robust method; the default), "LMEDS" (Least-Median robust method), or "RHO" (PROSAC-based robust method). |
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.
findTransformECC
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")
findTransformORB(balloon1, balloon2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.