public class RemoveRadialPtoN_F64 extends java.lang.Object implements PointTransform_F64
Modifier and Type | Field and Description |
---|---|
protected 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,
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 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, Point2D_F64 out)
compute
in interface PointTransform_F64
x
- Distorted x-coordinate pixely
- Distorted y-coordinate pixelout
- Undistorted normalized coordinate.Copyright © 2011-2012 Peter Abeles