boofcv.alg.distort.radtan
Class AddRadialNtoN_F32
- java.lang.Object
-
- boofcv.alg.distort.radtan.AddRadialNtoN_F32
-
- All Implemented Interfaces:
- PointTransform_F32
public class AddRadialNtoN_F32 extends java.lang.Object implements PointTransform_F32
Given an undistorted normalized pixel coordinate, compute the distorted normalized coordinate.
-
-
Constructor Summary
Constructors Constructor and Description AddRadialNtoN_F32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcompute(float x, float y, Point2D_F32 out)Adds radial distortionAddRadialNtoN_F32setDistortion(double[] radial, double t1, double t2)Specify intrinsic camera parametersAddRadialNtoN_F32setDistortion(float[] radial, float t1, float t2)
-
-
-
Method Detail
-
setDistortion
public AddRadialNtoN_F32 setDistortion(double[] radial, double t1, double t2)
Specify intrinsic camera parameters- Parameters:
radial- Radial distortion parameters
-
setDistortion
public AddRadialNtoN_F32 setDistortion(float[] radial, float t1, float t2)
-
compute
public void compute(float x, float y, Point2D_F32 out)Adds radial distortion- Specified by:
computein interfacePointTransform_F32- Parameters:
x- Undistorted x-coordinate normalized image coordinatesy- Undistorted y-coordinate normalized image coordinatesout- Distorted normalized image coordinate.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG