public class RemoveRadialNtoN_F32
extends java.lang.Object
implements boofcv.struct.distort.Point2Transform2_F32
| Modifier and Type | Field and Description |
|---|---|
protected RadialTangential_F32 |
params |
| Constructor and Description |
|---|
RemoveRadialNtoN_F32() |
RemoveRadialNtoN_F32(float tol) |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(float x,
float y,
georegression.struct.point.Point2D_F32 out)
Removes radial distortion
|
static void |
removeRadial(float x,
float y,
float[] radial,
float t1,
float t2,
georegression.struct.point.Point2D_F32 out,
float tol)
Static function for removing radial and tangential distortion
|
RemoveRadialNtoN_F32 |
setDistortion(double[] radial,
double t1,
double t2) |
void |
setTolerance(float tol) |
protected RadialTangential_F32 params
public RemoveRadialNtoN_F32()
public RemoveRadialNtoN_F32(float tol)
public void setTolerance(float tol)
public RemoveRadialNtoN_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.Point2Transform2_F32x - Distorted x-coordinate normalized image coordinatey - Distorted y-coordinate normalized image coordinateout - Undistorted normalized coordinate.public static void removeRadial(float x,
float y,
float[] radial,
float t1,
float t2,
georegression.struct.point.Point2D_F32 out,
float 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