Package boofcv.alg.distort.pinhole
Class PinholeNtoP_F64
java.lang.Object
boofcv.alg.distort.pinhole.PinholeNtoP_F64
- All Implemented Interfaces:
Point2Transform2_F64
Converts normalized pixel coordinate into pixel coordinate.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPinholeNtoP_F64
(PinholeNtoP_F64 original) PinholeNtoP_F64
(CameraPinhole pinhole) -
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.setK
(double fx, double fy, double skew, double cx, double cy) setK
(CameraPinhole pinhole)
-
Field Details
-
fx
public double fx -
fy
public double fy -
skew
public double skew -
cx
public double cx -
cy
public double cy
-
-
Constructor Details
-
PinholeNtoP_F64
-
PinholeNtoP_F64
-
PinholeNtoP_F64
public PinholeNtoP_F64()
-
-
Method Details
-
setK
-
setK
-
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.
-
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
-