public class RemoveRadialNtoN_F64
extends java.lang.Object
implements boofcv.struct.distort.Point2Transform2_F64
| Modifier and Type | Field and Description |
|---|---|
protected RadialTangential_F64 |
params |
| Constructor and Description |
|---|
RemoveRadialNtoN_F64() |
RemoveRadialNtoN_F64(double tol) |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(double x,
double y,
georegression.struct.point.Point2D_F64 out)
Removes radial distortion
|
static void |
removeRadial(double x,
double y,
double[] radial,
double t1,
double t2,
georegression.struct.point.Point2D_F64 out,
double tol)
Static function for removing radial and tangential distortion
|
RemoveRadialNtoN_F64 |
setDistortion(double[] radial,
double t1,
double t2) |
void |
setTolerance(double tol) |
protected RadialTangential_F64 params
public RemoveRadialNtoN_F64()
public RemoveRadialNtoN_F64(double tol)
public void setTolerance(double tol)
public RemoveRadialNtoN_F64 setDistortion(double[] radial, double t1, double t2)
public void compute(double x,
double y,
georegression.struct.point.Point2D_F64 out)
compute in interface boofcv.struct.distort.Point2Transform2_F64x - Distorted x-coordinate normalized image coordinatey - Distorted y-coordinate normalized image coordinateout - Undistorted normalized coordinate.public static void removeRadial(double x,
double y,
double[] radial,
double t1,
double t2,
georegression.struct.point.Point2D_F64 out,
double tol)
x - Distorted x-coordinate normalized image coordinatey - Distorted y-coordinate normalized image coordinateradial - Radial distortion parameterst1 - tangential distortiont2 - tangential distortionout - Undistorted normalized image coordinatetol - convergence tolerance