boofcv.alg.distort.radtan
Class RemoveRadialPtoN_F32
- java.lang.Object
-
- boofcv.alg.distort.radtan.RemoveRadialPtoN_F32
-
- All Implemented Interfaces:
- PointTransform_F32
public class RemoveRadialPtoN_F32 extends java.lang.Object implements PointTransform_F32
Converts the observed distorted pixels into normalized image coordinates.
-
-
Constructor Summary
Constructors Constructor and Description RemoveRadialPtoN_F32()RemoveRadialPtoN_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 distortionRemoveRadialPtoN_F32setDistortion(double[] radial, double t1, double t2)RemoveRadialPtoN_F32setK(double fx, double fy, double skew, double cx, double cy)Specify camera calibration parametersvoidsetTolerance(float tol)
-
-
-
Constructor Detail
-
RemoveRadialPtoN_F32
public RemoveRadialPtoN_F32()
-
RemoveRadialPtoN_F32
public RemoveRadialPtoN_F32(float tol)
-
-
Method Detail
-
setTolerance
public void setTolerance(float tol)
-
setK
public RemoveRadialPtoN_F32 setK(double fx, double fy, double skew, double cx, double cy)
Specify camera calibration parameters- Parameters:
fx- Focal length x-axis in pixelsfy- Focal length y-axis in pixelsskew- skew in pixelscx- camera center x-axis in pixelscy- center center y-axis in pixels
-
setDistortion
public RemoveRadialPtoN_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 pixely- Distorted y-coordinate pixelout- Undistorted normalized coordinate.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG