Package georegression.struct.homography
Class UtilHomography_F64
java.lang.Object
georegression.struct.homography.UtilHomography_F64
Various useful functions related to homographies.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.ejml.data.DMatrixRMaj
convert
(Homography2D_F64 m, @Nullable org.ejml.data.DMatrixRMaj ret) Converts aHomography2D_F64
into a 3x3 matrix.static Homography2D_F64
convert
(org.ejml.data.DMatrixRMaj m, @Nullable Homography2D_F64 ret) Converts the provided 3x3 matrix into aHomography2D_F64
.static Homography2D_F64
invert
(Homography2D_F64 orig, @Nullable Homography2D_F64 inverted) static void
static void
scale
(Homography2D_F64 h, double scale)
-
Constructor Details
-
UtilHomography_F64
public UtilHomography_F64()
-
-
Method Details
-
convert
public static Homography2D_F64 convert(org.ejml.data.DMatrixRMaj m, @Nullable @Nullable Homography2D_F64 ret) Converts the provided 3x3 matrix into aHomography2D_F64
.- Parameters:
m
- Input 3x3 matrix.ret
- Storage for output. If null then a new instance is created.- Returns:
- Equivalent homography.
-
convert
public static org.ejml.data.DMatrixRMaj convert(Homography2D_F64 m, @Nullable @Nullable org.ejml.data.DMatrixRMaj ret) Converts aHomography2D_F64
into a 3x3 matrix.- Parameters:
m
- Homographyret
- Storage for output. If null then a new instance is created.- Returns:
- Equivalent matrix.
-
invert
public static Homography2D_F64 invert(Homography2D_F64 orig, @Nullable @Nullable Homography2D_F64 inverted) -
scale
-
print
-