georegression.transform.homography
Class HomographyPointOps_F32
- java.lang.Object
-
- georegression.transform.homography.HomographyPointOps_F32
-
public class HomographyPointOps_F32 extends java.lang.ObjectApplies homography transform to 2D points.
-
-
Constructor Summary
Constructors Constructor and Description HomographyPointOps_F32()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static Point2D_F32transform(Homography2D_F32 H, float x, float y, Point2D_F32 result)Applies a 2D homography transform to the point and stores the results in another variable.static Point2D_F32transform(Homography2D_F32 H, Point2D_F32 orig, Point2D_F32 result)Applies a 2D homography transform to the point and stores the results in another variable.
-
-
-
Method Detail
-
transform
public static Point2D_F32 transform(Homography2D_F32 H, Point2D_F32 orig, Point2D_F32 result)
Applies a 2D homography transform to the point and stores the results in another variable. b = H*a, where 'a' is the input/orig point, 'b' is the output/result point, and 'H' is a homography from a to b.- Parameters:
H- Homography transformorig- Original point being transformed. Not modified.result- Where the results are stored. Can be the same as orig. If null a new instance is created. Modified.- Returns:
- Transformed point.
-
transform
public static Point2D_F32 transform(Homography2D_F32 H, float x, float y, Point2D_F32 result)
Applies a 2D homography transform to the point and stores the results in another variable. b = H*a, where 'a' is the input/orig point, 'b' is the output/result point, and 'H' is a homography from a to b.- Parameters:
H- Homography transformx- Original x-coordinatey- Original y-coordinateresult- Where the results are stored. Can be the same as orig. If null a new instance is created. Modified.- Returns:
- Transformed point.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG