A very fast and accuracy subpixel image registration or alignment based on cross correlation and modified moment algorithm . Its accuracy is around 0.01-0.1 pixel according to the SNR and the size of images.
Inputs
standimage: the first image
compimage: the second image. It should be the same size as the first image
Outputs
m: the shift in X
n: the shift in Y
This code is implemented based on the following algorithm. Please cite:
http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=6463241
Song Min, June, 2013
Cite As
Min (2024). fastreg.zip (https://www.mathworks.com/matlabcentral/fileexchange/46964-fastreg-zip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.