public class RemoveRadialPtoN_F32
extends java.lang.Object
implements boofcv.struct.distort.PointTransform_F32
| Modifier and Type | Field and Description |
|---|---|
protected float |
cx |
protected float |
cy |
protected float |
fx |
protected float |
fy |
protected org.ejml.data.DenseMatrix64F |
K_inv |
protected RadialTangential_F32 |
params |
protected float |
skew |
protected float |
sum |
protected float |
tx |
protected float |
ty |
| Constructor and Description |
|---|
RemoveRadialPtoN_F32() |
RemoveRadialPtoN_F32(float tol) |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(float x,
float y,
georegression.struct.point.Point2D_F32 out)
Removes radial distortion
|
RemoveRadialPtoN_F32 |
setDistortion(double[] radial,
double t1,
double t2) |
RemoveRadialPtoN_F32 |
setK(double fx,
double fy,
double skew,
double cx,
double cy)
Specify camera calibration parameters
|
void |
setTolerance(float tol) |
protected float cx
protected float cy
protected float fx
protected float fy
protected float skew
protected RadialTangential_F32 params
protected float sum
protected float tx
protected float ty
protected org.ejml.data.DenseMatrix64F K_inv
public RemoveRadialPtoN_F32()
public RemoveRadialPtoN_F32(float tol)
public void setTolerance(float tol)
public RemoveRadialPtoN_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 RemoveRadialPtoN_F32 setDistortion(double[] radial, double t1, double t2)
public void compute(float x,
float y,
georegression.struct.point.Point2D_F32 out)
compute in interface boofcv.struct.distort.PointTransform_F32x - Distorted x-coordinate pixely - Distorted y-coordinate pixelout - Undistorted normalized coordinate.