Package boofcv.alg.distort.division
Class AddDivisionNtoN_F64
java.lang.Object
boofcv.alg.distort.division.AddDivisionNtoN_F64
- All Implemented Interfaces:
Point2Transform2_F64
Converts the undistorted normalized coordinate into normalized pixel coordinates.
-
Field Summary
Modifier and TypeFieldDescriptionint
Maximum number of iterationsdouble
double
Convergence tolerance -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(double x, double y, Point2D_F64 out) Adds radial distortionCreates a copy of this transform for use in concurrent application.setRadial
(double radial)
-
Field Details
-
radial
public double radial -
tol
public double tolConvergence tolerance -
maxIterations
public int maxIterationsMaximum number of iterations
-
-
Constructor Details
-
AddDivisionNtoN_F64
public AddDivisionNtoN_F64()
-
-
Method Details
-
setRadial
-
compute
Adds radial distortion- Specified by:
compute
in interfacePoint2Transform2_F64
- Parameters:
x
- Undistorted x-coordinate pixel image coordinatesy
- Undistorted y-coordinate pixel image coordinatesout
- Distorted normalized image coordinate.
-
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
-