georegression.struct.homography
Class UtilHomography
- java.lang.Object
-
- georegression.struct.homography.UtilHomography
-
public class UtilHomography extends java.lang.ObjectVarious useful functions related to homographies.
-
-
Constructor Summary
Constructors Constructor and Description UtilHomography()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static Homography2D_F32convert(org.ejml.data.DenseMatrix64F m, Homography2D_F32 ret)Converts the provided 3x3 matrix into aHomography2D_F32.static Homography2D_F64convert(org.ejml.data.DenseMatrix64F m, Homography2D_F64 ret)Converts the provided 3x3 matrix into aHomography2D_F64.static org.ejml.data.DenseMatrix64Fconvert(Homography2D_F32 m, org.ejml.data.DenseMatrix64F ret)Converts aHomography2D_F32into a 3x3 matrix.static org.ejml.data.DenseMatrix64Fconvert(Homography2D_F64 m, org.ejml.data.DenseMatrix64F ret)Converts aHomography2D_F64into a 3x3 matrix.static Homography2D_F32convert(Homography2D_F64 m, Homography2D_F32 ret)static Homography2D_F64invert(Homography2D_F64 orig, Homography2D_F64 inverted)static voidprint(Homography2D_F64 h)static voidscale(Homography2D_F64 h, double scale)
-
-
-
Method Detail
-
convert
public static Homography2D_F64 convert(org.ejml.data.DenseMatrix64F m, 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 Homography2D_F32 convert(org.ejml.data.DenseMatrix64F m, Homography2D_F32 ret)
Converts the provided 3x3 matrix into aHomography2D_F32.- 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.DenseMatrix64F convert(Homography2D_F64 m, org.ejml.data.DenseMatrix64F ret)
Converts aHomography2D_F64into a 3x3 matrix.- Parameters:
m- Homographyret- Storage for output. If null then a new instance is created.- Returns:
- Equivalent matrix.
-
convert
public static org.ejml.data.DenseMatrix64F convert(Homography2D_F32 m, org.ejml.data.DenseMatrix64F ret)
Converts aHomography2D_F32into 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, Homography2D_F64 inverted)
-
convert
public static Homography2D_F32 convert(Homography2D_F64 m, Homography2D_F32 ret)
-
scale
public static void scale(Homography2D_F64 h, double scale)
-
print
public static void print(Homography2D_F64 h)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG