public class RemoveRadialPtoN_F64
extends java.lang.Object
implements boofcv.struct.distort.PointTransform_F64
| Modifier and Type | Field and Description |
|---|---|
protected org.ejml.data.DenseMatrix64F |
K_inv |
protected double[] |
radial |
protected double |
sum |
protected double |
x_c |
protected double |
y_c |
| Constructor and Description |
|---|
RemoveRadialPtoN_F64() |
RemoveRadialPtoN_F64(double tol) |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(double x,
double y,
georegression.struct.point.Point2D_F64 out)
Removes radial distortion
|
void |
set(double fx,
double fy,
double skew,
double x_c,
double y_c,
double... radial)
Specify camera calibration parameters
|
void |
setTolerance(double tol) |
protected double x_c
protected double y_c
protected double[] radial
protected double sum
protected org.ejml.data.DenseMatrix64F K_inv
public RemoveRadialPtoN_F64()
public RemoveRadialPtoN_F64(double tol)
public void setTolerance(double tol)
public void set(double fx,
double fy,
double skew,
double x_c,
double y_c,
double... radial)
fx - Focal length x-axis in pixelsfy - Focal length y-axis in pixelsskew - skew in pixelsx_c - camera center x-axis in pixelsy_c - center center y-axis in pixelsradial - Radial distortion parameterspublic void compute(double x,
double y,
georegression.struct.point.Point2D_F64 out)
compute in interface boofcv.struct.distort.PointTransform_F64x - Distorted x-coordinate pixely - Distorted y-coordinate pixelout - Undistorted normalized coordinate.