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