Package boofcv.alg.distort.universal
Class UniOmniStoP_F64
java.lang.Object
boofcv.alg.distort.universal.UniOmniStoP_F64
- All Implemented Interfaces:
Point3Transform2_F64
public class UniOmniStoP_F64 extends Object implements 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
Fields Modifier and Type Field Description protected double
cx
protected double
cy
protected RadialTangential_F64
distortion
protected double
fx
protected double
fy
protected double
skew
-
Constructor Summary
Constructors Constructor Description UniOmniStoP_F64()
UniOmniStoP_F64(CameraUniversalOmni model)
-
Method Summary
Modifier and Type Method Description void
compute(double x, double y, double z, Point2D_F64 out)
Applies transformationPoint3Transform2_F64
copyConcurrent()
Creates 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
-