Package georegression.struct.homography
Class UtilHomography_F64
java.lang.Object
georegression.struct.homography.UtilHomography_F64
Various useful functions related to homographies.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DMatrixRMajconvert(Homography2D_F64 m, @Nullable DMatrixRMaj ret) Converts aHomography2D_F64into a 3x3 matrix.static Homography2D_F64convert(DMatrixRMaj m, @Nullable Homography2D_F64 ret) Converts the provided 3x3 matrix into aHomography2D_F64.static Homography2D_F64invert(Homography2D_F64 orig, @Nullable Homography2D_F64 inverted) static voidstatic voidscale(Homography2D_F64 h, double scale)
-
Constructor Details
-
UtilHomography_F64
public UtilHomography_F64()
-
-
Method Details
-
convert
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
Converts aHomography2D_F64into 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
-