title: Fastest way to move image in OpenCV
body: <p>I develop a simple stabilizer and I'm having difficulty with the shift of the image. Example - I have two images (A and B) are shifted relative to each other by a few pixels. I calculate the offset using phase correlations. The next step I need to move the second image by the image's offset. An example is presented on the image. How do I solve this problem?<br></p>
  
  <p>There is link to preview image:<br></p>
  
  <p><img src="https://i.stack.imgur.com/nRIEw.jpg" alt="illustration"></p>