title: Calculating a 2D Transformation Matrix from an Initial and Resultant 2D Matrix
body: <p>I by no means profess to be a genius when it comes to programming and my current problem has me stumped.</p>
  
  <p>I have found this question <a href="https://stackoverflow.com/questions/1856210/trying-to-derive-a-2d-transformation-matrix-using-only-the-images">Trying to derive a 2D transformation matrix using only the images</a> that seems to at least partially answer my question but the image that should show the solution is no longer available :S</p>
  
  <p>I'm working in C# and not using WPF as neither my input or output needs to be displayed graphically.</p>
  
  <p>In my program I have 2 quadrilaterals, lets call them an input and an output quadrilateral.</p>
  
  <p>The input quad has the co-ords of (2,1),(2,3),(4,4),(3,1) from bottom left clockwise.</p>
  
  <p>The output quad can have any co-ords and will be again listed in order from bottom left clockwise.</p>
  
  <p>Given these 8 co-ordinate pairs, is it possible to calculate a transformation matrix that I could apply to any single co-ordinate pair?</p>
  
  <p>I'm not too hot on Matrices but I am willing to learn if pointed in the right direction.</p>
  
  <p>Many Thanks</p>
  
  <p>Josh</p>