boofcv.alg.distort
Class PointTransformHomography_F64
- java.lang.Object
-
- boofcv.alg.distort.PointTransformHomography_F64
-
- All Implemented Interfaces:
- PointTransform_F64, PointTransformModel_F64<Homography2D_F64>
public class PointTransformHomography_F64 extends java.lang.Object implements PointTransformModel_F64<Homography2D_F64>
-
-
Constructor Summary
Constructors Constructor and Description PointTransformHomography_F64()PointTransformHomography_F64(org.ejml.data.DenseMatrix64F homo)PointTransformHomography_F64(Homography2D_F64 homo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcompute(double x, double y, Point2D_F64 out)Applies transformationHomography2D_F64getModel()Returns the active motion modelHomography2D_F64newInstanceModel()Returns a new instance of the motion modelvoidset(Homography2D_F64 transform)voidsetModel(Homography2D_F64 o)Specifies the distortion model used by the transform
-
-
-
Constructor Detail
-
PointTransformHomography_F64
public PointTransformHomography_F64()
-
PointTransformHomography_F64
public PointTransformHomography_F64(org.ejml.data.DenseMatrix64F homo)
-
PointTransformHomography_F64
public PointTransformHomography_F64(Homography2D_F64 homo)
-
-
Method Detail
-
set
public void set(Homography2D_F64 transform)
-
compute
public void compute(double x, double y, Point2D_F64 out)Description copied from interface:PointTransform_F64Applies transformation- Specified by:
computein interfacePointTransform_F64- Parameters:
x- x-coordinate of pointy- y-coordinate of pointout- Transformed point location.
-
setModel
public void setModel(Homography2D_F64 o)
Description copied from interface:PointTransformModel_F64Specifies the distortion model used by the transform- Specified by:
setModelin interfacePointTransformModel_F64<Homography2D_F64>- Parameters:
o- Distortion model
-
getModel
public Homography2D_F64 getModel()
Description copied from interface:PointTransformModel_F64Returns the active motion model- Specified by:
getModelin interfacePointTransformModel_F64<Homography2D_F64>- Returns:
- motion model
-
newInstanceModel
public Homography2D_F64 newInstanceModel()
Description copied from interface:PointTransformModel_F64Returns a new instance of the motion model- Specified by:
newInstanceModelin interfacePointTransformModel_F64<Homography2D_F64>- Returns:
- new instance
-
-
DataMelt 3.0 © DataMelt by jWork.ORG