title: How to find that how much is the image shifted from the original one in MATLAB?
body: <p>I have two images (Im1 and Im2) which are shifted and/or rotated from each other with some pixel.</p>
  
  <p>Is there a way to find out the value of how much the image is rotated/shifted ? 
  I used the following command but it just show me the visualization. </p>
  
  <pre><code>imshowpair(AA,BB,'falsecolor');
  </code></pre>
  
  <p><a href="https://www.dropbox.com/sh/nkpqg1wzaeb1npz/AAAA3lklfQVHRLbPj2FlzzXJa?dl=0" rel="nofollow">AA and BB Files are here</a></p>
  
  <p>But I am interested only in there shifted/rotated value.</p>