Package boofcv.alg.distort.pinhole
Class PinholeNtoP_F32
java.lang.Object
boofcv.alg.distort.pinhole.PinholeNtoP_F32
- All Implemented Interfaces:
Point2Transform2_F32
@Generated("boofcv.alg.distort.pinhole.PinholeNtoP_F64")
public class PinholeNtoP_F32
extends Object
implements Point2Transform2_F32
Converts normalized pixel coordinate into pixel coordinate.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPinholeNtoP_F32
(PinholeNtoP_F32 original) PinholeNtoP_F32
(CameraPinhole pinhole) -
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(float x, float y, Point2D_F32 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 float fx -
fy
public float fy -
skew
public float skew -
cx
public float cx -
cy
public float cy
-
-
Constructor Details
-
PinholeNtoP_F32
-
PinholeNtoP_F32
-
PinholeNtoP_F32
public PinholeNtoP_F32()
-
-
Method Details
-
setK
-
setK
-
compute
Description copied from interface:Point2Transform2_F32
Applies transformation- Specified by:
compute
in interfacePoint2Transform2_F32
- Parameters:
x
- x-coordinate of pointy
- y-coordinate of pointout
- Transformed point location.
-
copyConcurrent
Description copied from interface:Point2Transform2_F32
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_F32.compute(float, float, georegression.struct.point.Point2D_F32)
is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.- Specified by:
copyConcurrent
in interfacePoint2Transform2_F32
-