Functions for aligning images by rotation and translation:
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!