Package boofcv.alg.distort.brown
Class RemoveBrownNtoN_F64
- java.lang.Object
-
- boofcv.alg.distort.brown.RemoveBrownNtoN_F64
-
- All Implemented Interfaces:
boofcv.struct.distort.Point2Transform2_F64
public class RemoveBrownNtoN_F64 extends java.lang.Object implements boofcv.struct.distort.Point2Transform2_F64Converts the observed distorted normalized image coordinates into undistorted normalized image coordinates.
-
-
Field Summary
Fields Modifier and Type Field Description protected RadialTangential_F64params
-
Constructor Summary
Constructors Constructor Description RemoveBrownNtoN_F64()RemoveBrownNtoN_F64(double tol)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(double x, double y, georegression.struct.point.Point2D_F64 out)Removes radial distortionRemoveBrownNtoN_F64copyConcurrent()static voidremoveRadial(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 distortionRemoveBrownNtoN_F64setDistortion(double[] radial, double t1, double t2)voidsetTolerance(double tol)
-
-
-
Field Detail
-
params
protected RadialTangential_F64 params
-
-
Method Detail
-
setTolerance
public void setTolerance(double tol)
-
setDistortion
public RemoveBrownNtoN_F64 setDistortion(double[] radial, double t1, double t2)
-
compute
public void compute(double x, double y, georegression.struct.point.Point2D_F64 out)Removes radial distortion- Specified by:
computein interfaceboofcv.struct.distort.Point2Transform2_F64- Parameters:
x- Distorted x-coordinate normalized image coordinatey- Distorted y-coordinate normalized image coordinateout- Undistorted normalized coordinate.
-
copyConcurrent
public RemoveBrownNtoN_F64 copyConcurrent()
- Specified by:
copyConcurrentin interfaceboofcv.struct.distort.Point2Transform2_F64
-
removeRadial
public 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- Parameters:
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
-
-