title: How to get rotation angles of Image Plane relative to the World Plane?
body: <p>So we have such situation:</p>
  
  <p><img src="https://i.stack.imgur.com/Txxn0.gif" alt="alt text"></p>
  
  <p>In this illustration, the first quadrilateral is shown on the Image Plane and the second quadrilateral is shown on the World Plane. [<a href="http://alumni.media.mit.edu/~cwren/interpolator/" rel="nofollow noreferrer">1</a>] </p>
  
  <p>In my particular case the Image Plane has 3 quadrilaterals - projections of real world squares, which, as we know, have same size, lying on the same plane, with same rotation relative to the plane they are lying on, and are not situated on same line on plane.</p>
  
  <p><img src="https://i.stack.imgur.com/au8dm.jpg" alt="alt text"></p>
  
  <p>I wonder if we can get rotation angles of Image Plane to World Plane knowing stuff described?</p>
  
  <p>In my case as input I have such data structures: original image (RGB pixels), objects (squares) with angles points in pixels (x,y) on Image Plane.</p>