Automatic Image Registration using (Normalized) Mutual Information for users of IP toolbox
Functions for aligning images by rotation and translation: image_registr_MI.m
MI2 - calculating Mutual information
joint_h - calculating Joint histogram
Mutual information is calculated using joint histogram calculation between two images.
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)
NOTE: image1 should be smaller that image2
Function allows to crop part of the image for registration to save computational time using IMCROP function.
For more help type:
help image_registr_MI.m
For users without IP toolbox download file im_reg_mi.zip without
% cropping option and with different rotation function
Please e-mail if you have problems!
Cite As
Kateryna Artyushkova (2024). Automatic Image Registration using (Normalized) Mutual Information for users of IP toolbox (https://www.mathworks.com/matlabcentral/fileexchange/4145-automatic-image-registration-using-normalized-mutual-information-for-users-of-ip-toolbox), 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
Acknowledgements
Inspired: Image Registration (2D) using Mutual Information (Optimization toolbox needed), Automatic 2d Rigid Body Image Registration
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | An old file included in zip as was noticed by one of the users (see comments) |