Package boofcv.alg.distort.universal
Class UniOmniStoP_F64
java.lang.Object
boofcv.alg.distort.universal.UniOmniStoP_F64
- All Implemented Interfaces:
Point3Transform2_F64
Forward projection model for
CameraUniversalOmni
. Takes a 3D point in camera unit sphere
coordinates and converts it into a distorted pixel coordinate. There are no checks to see if
it is physically possible to perform the forward projection, e.g. point could be outside the FOV.-
Field Summary
Modifier and TypeFieldDescriptionprotected double
protected double
protected RadialTangential_F64
protected double
protected double
protected double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(double x, double y, double z, Point2D_F64 out) Applies transformationCreates a copy of this transform for use in concurrent application.void
setModel
(CameraUniversalOmni model)
-
Field Details
-
cx
protected double cx -
cy
protected double cy -
fx
protected double fx -
fy
protected double fy -
skew
protected double skew -
distortion
-
-
Constructor Details
-
UniOmniStoP_F64
-
UniOmniStoP_F64
public UniOmniStoP_F64()
-
-
Method Details
-
setModel
-
compute
Description copied from interface:Point3Transform2_F64
Applies transformation- Specified by:
compute
in interfacePoint3Transform2_F64
- Parameters:
x
- x-coordinate of pointy
- y-coordinate of pointz
- y-coordinate of pointout
- Transformed point location.
-
copyConcurrent
Description copied from interface:Point3Transform2_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 toPoint3Transform2_F64.compute(double, 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 interfacePoint3Transform2_F64
-