0 Replies Latest reply on Jul 19, 2012 12:02 PM by 950534

    Compute transform matrix for perspective transform


      I have the following problem:
      I have the coordinates of a quadrilateral in an image. Furthermore I have the coordinates of the same quadrilateral but from another perspective. Now I'm seeking a way to compute a transform matrix that transforms the second perspective to the first one, so that both quadrilateral have the same coordinates again.

      Unfortunately I'm not very experienced in Image manipulation and I just discovered the JAI API today. I figured out that there is the class PerspectiveTransform to do transforms with a given transform Matrix, but i wasn't able to find out how I can compute this matrix. Is there maybe an easy way to solve my problem with the help of JAI?