boofcv.alg.distort
Class PointTransformHomography_F32
- java.lang.Object
-
- boofcv.alg.distort.PointTransformHomography_F32
-
- All Implemented Interfaces:
- PointTransform_F32, PointTransformModel_F32<Homography2D_F32>
public class PointTransformHomography_F32 extends java.lang.Object implements PointTransformModel_F32<Homography2D_F32>
-
-
Constructor Summary
Constructors Constructor and Description PointTransformHomography_F32()PointTransformHomography_F32(org.ejml.data.DenseMatrix64F homo)PointTransformHomography_F32(Homography2D_F32 homo)PointTransformHomography_F32(Homography2D_F64 homo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcompute(float x, float y, Point2D_F32 out)Applies transformationHomography2D_F32getModel()Returns the active motion modelHomography2D_F32newInstanceModel()Returns a new instance of the motion modelvoidset(org.ejml.data.DenseMatrix64F transform)voidset(Homography2D_F32 transform)voidset(Homography2D_F64 transform)voidsetModel(Homography2D_F32 o)Specifies the distortion model used by the transform
-
-
-
Constructor Detail
-
PointTransformHomography_F32
public PointTransformHomography_F32()
-
PointTransformHomography_F32
public PointTransformHomography_F32(org.ejml.data.DenseMatrix64F homo)
-
PointTransformHomography_F32
public PointTransformHomography_F32(Homography2D_F32 homo)
-
PointTransformHomography_F32
public PointTransformHomography_F32(Homography2D_F64 homo)
-
-
Method Detail
-
set
public void set(org.ejml.data.DenseMatrix64F transform)
-
set
public void set(Homography2D_F32 transform)
-
set
public void set(Homography2D_F64 transform)
-
compute
public void compute(float x, float y, Point2D_F32 out)Description copied from interface:PointTransform_F32Applies transformation- Specified by:
computein interfacePointTransform_F32- Parameters:
x- x-coordinate of pointy- y-coordinate of pointout- Transformed point location.
-
setModel
public void setModel(Homography2D_F32 o)
Description copied from interface:PointTransformModel_F32Specifies the distortion model used by the transform- Specified by:
setModelin interfacePointTransformModel_F32<Homography2D_F32>- Parameters:
o- Distortion model
-
getModel
public Homography2D_F32 getModel()
Description copied from interface:PointTransformModel_F32Returns the active motion model- Specified by:
getModelin interfacePointTransformModel_F32<Homography2D_F32>- Returns:
- motion model
-
newInstanceModel
public Homography2D_F32 newInstanceModel()
Description copied from interface:PointTransformModel_F32Returns a new instance of the motion model- Specified by:
newInstanceModelin interfacePointTransformModel_F32<Homography2D_F32>- Returns:
- new instance
-
-
DataMelt 3.0 © DataMelt by jWork.ORG