Package boofcv.alg.distort.brown
Class AddBrownNtoN_F64
java.lang.Object
boofcv.alg.distort.brown.AddBrownNtoN_F64
- All Implemented Interfaces:
Point2Transform2_F64
Given an undistorted normalized pixel coordinate, compute the distorted normalized coordinate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompute(double x, double y, Point2D_F64 out) Adds radial distortionCreates a copy of this transform for use in concurrent application.setDistortion(@org.jetbrains.annotations.Nullable double[] radial, double t1, double t2) Specify intrinsic camera parameters
-
Constructor Details
-
AddBrownNtoN_F64
public AddBrownNtoN_F64()
-
-
Method Details
-
setDistortion
public AddBrownNtoN_F64 setDistortion(@Nullable @org.jetbrains.annotations.Nullable double[] radial, double t1, double t2) Specify intrinsic camera parameters- Parameters:
radial- Radial distortion parameters
-
compute
Adds radial distortion- Specified by:
computein interfacePoint2Transform2_F64- Parameters:
x- Undistorted x-coordinate normalized image coordinatesy- Undistorted y-coordinate normalized image coordinatesout- Distorted normalized image coordinate.
-
copyConcurrent
Description copied from interface:Point2Transform2_F64Creates 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:
copyConcurrentin interfacePoint2Transform2_F64
-