Package algorithm
Class ProjectiveTransformation
java.lang.Object
algorithm.ProjectiveTransformation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.opencv.core.Mat
getTransformMatProjectionTransform
(float[][] imagePoints, float[][] trackingPoints) Calculates a transformation matrix by the provided raw points.
-
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
-