Automatic Image Registration
Functions for aligning images by rotation and translation:
im_reg_MI.m
MI2 - calculating Mutual information
joint_h - calculating Joint histogram
Mutual information is calculated using joint histogram calculation between two images.
rotate_image.m function by Ohad Gal is used. DO NOT FORGET DOWNLOAD THE FILE:http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4071&objectType=FILE
Users having access to IP toolbox can download image_registr_MI.zip which uses IMROTATE function and has an option to crop the image to save computation time.
For each angle of rotation all translation parameters are checked.
NOTE - the images must have correct relative sizes with respect to each other (no resizing is incorporated in this registration)
Please e-mail if you have problems!
Cite As
Kateryna Artyushkova (2026). Automatic Image Registration (https://in.mathworks.com/matlabcentral/fileexchange/4534-automatic-image-registration), 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 >
- MATLAB > Graphics > Images > Read, Write, and Modify Image >
Tags
Acknowledgements
Inspired by: Rotate Image
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Add instruction to downlaod rotate_image file |
