Package boofcv.alg.distort
Class PointTransformHomography_F64
java.lang.Object
boofcv.alg.distort.PointTransformHomography_F64
- All Implemented Interfaces:
Point2Transform2_F64
,Point2Transform2Model_F64<Homography2D_F64>
public class PointTransformHomography_F64
extends Object
implements Point2Transform2Model_F64<Homography2D_F64>
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(double x, double y, Point2D_F64 out) Applies transformationCreates a copy of this transform for use in concurrent application.getModel()
Returns the active motion modelReturns a new instance of the motion modelvoid
void
Specifies the distortion model used by the transform
-
Constructor Details
-
PointTransformHomography_F64
public PointTransformHomography_F64() -
PointTransformHomography_F64
-
PointTransformHomography_F64
-
-
Method Details
-
set
-
compute
Description copied from interface:Point2Transform2_F64
Applies transformation- Specified by:
compute
in interfacePoint2Transform2_F64
- Parameters:
x
- x-coordinate of pointy
- y-coordinate of pointout
- Transformed point location.
-
setModel
Description copied from interface:Point2Transform2Model_F64
Specifies the distortion model used by the transform- Specified by:
setModel
in interfacePoint2Transform2Model_F64<Homography2D_F64>
- Parameters:
o
- Distortion model
-
getModel
Description copied from interface:Point2Transform2Model_F64
Returns the active motion model- Specified by:
getModel
in interfacePoint2Transform2Model_F64<Homography2D_F64>
- Returns:
- motion model
-
newInstanceModel
Description copied from interface:Point2Transform2Model_F64
Returns a new instance of the motion model- Specified by:
newInstanceModel
in interfacePoint2Transform2Model_F64<Homography2D_F64>
- Returns:
- new instance
-
copyConcurrent
Description copied from interface:Point2Transform2_F64
Creates a copy of this transform for use in concurrent application. What that means is that any variable which might be modified by a concurrent call toPoint2Transform2_F64.compute(double, double, georegression.struct.point.Point2D_F64)
is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.- Specified by:
copyConcurrent
in interfacePoint2Transform2_F64
-