Package boofcv.alg.distort.pinhole
Class PinholePtoN_F32
java.lang.Object
boofcv.alg.distort.pinhole.PinholePtoN_F32
- All Implemented Interfaces:
Point2Transform2_F32
@Generated("boofcv.alg.distort.pinhole.PinholePtoN_F64")
public class PinholePtoN_F32
extends Object
implements Point2Transform2_F32
Converts an image pixel coordinate into a normalized pixel coordinate using the
camera's intrinsic parameters. Lens distortion must have already been removed.
-
Field Summary
-
Constructor Summary
-
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
-
a11
public float a11 -
a12
public float a12 -
a13
public float a13 -
a22
public float a22 -
a23
public float a23
-
-
Constructor Details
-
PinholePtoN_F32
-
PinholePtoN_F32
public PinholePtoN_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
-