boofcv.alg.distort.radtan
Class RemoveRadialNtoN_F32
- java.lang.Object
-
- boofcv.alg.distort.radtan.RemoveRadialNtoN_F32
-
- All Implemented Interfaces:
- PointTransform_F32
public class RemoveRadialNtoN_F32 extends java.lang.Object implements PointTransform_F32
Converts the observed distorted normalized image coordinates into undistorted normalized image coordinates.
-
-
Constructor Summary
Constructors Constructor and Description RemoveRadialNtoN_F32()RemoveRadialNtoN_F32(float tol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcompute(float x, float y, Point2D_F32 out)Removes radial distortionRemoveRadialNtoN_F32setDistortion(double[] radial, double t1, double t2)RemoveRadialNtoN_F32setDistortion(float[] radial, float t1, float t2)voidsetTolerance(float tol)
-
-
-
Constructor Detail
-
RemoveRadialNtoN_F32
public RemoveRadialNtoN_F32()
-
RemoveRadialNtoN_F32
public RemoveRadialNtoN_F32(float tol)
-
-
Method Detail
-
setTolerance
public void setTolerance(float tol)
-
setDistortion
public RemoveRadialNtoN_F32 setDistortion(float[] radial, float t1, float t2)
-
setDistortion
public RemoveRadialNtoN_F32 setDistortion(double[] radial, double t1, double t2)
-
compute
public void compute(float x, float y, Point2D_F32 out)Removes radial distortion- Specified by:
computein interfacePointTransform_F32- Parameters:
x- Distorted x-coordinate normalized image coordinatey- Distorted y-coordinate normalized image coordinateout- Undistorted normalized coordinate.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG