title: Use of Matlab normxcorr2 () template matching error occurs
body: <p>I want to make the template matching, using the Matlab normxcorr2 (),
  Results such as pictures:</p>
  
  <p><a href="http://imgur.com/D1yhitz" rel="nofollow">http://imgur.com/D1yhitz</a></p>
  
  <p>Left a successful match, the right failed,
  Here is the code:</p>
  
  <p><a href="http://imgur.com/IP05vBw" rel="nofollow">http://imgur.com/IP05vBw</a></p>
  
  <p>I can not find where the problem
  Please help me: (</p>