public class RemoveRadialPtoN_F32
extends java.lang.Object
implements boofcv.struct.distort.PointTransform_F32
| Modifier and Type | Field and Description |
|---|---|
protected org.ejml.data.DenseMatrix64F |
K_inv |
protected float[] |
radial |
protected float |
sum |
protected float |
x_c |
protected float |
y_c |
| Constructor and Description |
|---|
RemoveRadialPtoN_F32() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(float x,
float y,
georegression.struct.point.Point2D_F32 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(float tol) |
protected float x_c
protected float y_c
protected float[] radial
protected float sum
protected org.ejml.data.DenseMatrix64F K_inv
public void setTolerance(float 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(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.