title: Opencv Warp perspective whole image
body: <p>I'm struggling with this problem:</p>
  
  <p>I have the an image and I want to apply a warp perspective to it (I already have the transformation matrix) but instead of the output only having the transformation area (like the example below) I want to be able to see the whole image instead.</p>
  
  <p><a href="http://docs.opencv.org/trunk/_images/perspective.jpg" rel="nofollow noreferrer">EXAMPLE http://docs.opencv.org/trunk/_images/perspective.jpg</a></p>
  
  <p>Instead of having the transformation region, like this example, I want to transform the whole original image.</p>
  
  <p>How can I achieve this?</p>
  
  <p>Thanks!</p>