public class AddRadialPtoN_F32
extends java.lang.Object
implements boofcv.struct.distort.PointTransform_F32
| Modifier and Type | Field and Description |
|---|---|
protected RadialTangential_F32 |
params |
| Constructor and Description |
|---|
AddRadialPtoN_F32() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(float x,
float y,
georegression.struct.point.Point2D_F32 out)
Adds radial distortion
|
AddRadialPtoN_F32 |
setDistortion(double[] radial,
double t1,
double t2)
Specify intrinsic camera parameters
|
AddRadialPtoN_F32 |
setK(double fx,
double fy,
double skew,
double cx,
double cy)
Specify camera calibration parameters
|
protected RadialTangential_F32 params
public AddRadialPtoN_F32 setK(double fx, double fy, double skew, double cx, double cy)
fx - Focal length x-axis in pixelsfy - Focal length y-axis in pixelsskew - skew in pixelscx - camera center x-axis in pixelscy - center center y-axis in pixelspublic AddRadialPtoN_F32 setDistortion(double[] radial, double t1, double t2)
radial - Radial distortion parameterspublic void compute(float x,
float y,
georegression.struct.point.Point2D_F32 out)
compute in interface boofcv.struct.distort.PointTransform_F32x - Undistorted x-coordinate pixely - Undistorted y-coordinate pixelout - Distorted pixel coordinate.