Package algorithm

Class ProjectiveTransformation

java.lang.Object
algorithm.ProjectiveTransformation

public class ProjectiveTransformation extends Object
  • Constructor Details

    • ProjectiveTransformation

      public ProjectiveTransformation()
  • Method Details

    • getTransformMatProjectionTransform

      public static org.opencv.core.Mat getTransformMatProjectionTransform(float[][] imagePoints, float[][] trackingPoints)
      Calculates a transformation matrix by the provided raw points. Uses the method of finding the projective transform. See also https://math.stackexchange.com/a/339033
      Returns:
      The resulting transformation matrix