To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
The region of interest is shifted in one of the images. In the other image, the region of interest is at the center of the image. So how to map the pixels of the region of interest of the shifted image with the other one? Finally the aim is performing coregistration of the two images.