title: Deform points in a plane
body: <p>Point :: (x y)  is known.</p>
  
  <p>I have points inside a triangular region.<br>
  I know the coordinates of the vertices in initial and final positions. I know the initial coordinates of all the points inside the triangular region.  </p>
  
  <p>Now <strong>I want to find out the final coordinates of all the points inside the triangular region.</strong></p>
  
  <p>The picture below shows the points in initial and final positions.</p>
  
  <p><img src="https://i.stack.imgur.com/hTZy9.jpg" alt="enter image description here"> <img src="https://i.stack.imgur.com/vvPz7.jpg" alt="enter image description here"></p>
  
  <p>Can anyone tell me how to do this in OpenCV and C++ platform??</p>
  
  <p>Can I do this for arbitary shaped contour also?</p>