Package boofcv.alg.distort.brown
Class RemoveBrownPtoN_F64
- java.lang.Object
-
- boofcv.alg.distort.brown.RemoveBrownPtoN_F64
-
- All Implemented Interfaces:
boofcv.struct.distort.Point2Transform2_F64
public class RemoveBrownPtoN_F64 extends java.lang.Object implements boofcv.struct.distort.Point2Transform2_F64Converts the observed distorted pixels into normalized image coordinates.
-
-
Constructor Summary
Constructors Constructor Description RemoveBrownPtoN_F64()RemoveBrownPtoN_F64(double tol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(double x, double y, georegression.struct.point.Point2D_F64 out)Removes radial distortionRemoveBrownPtoN_F64copyConcurrent()RemoveBrownPtoN_F64setDistortion(double[] radial, double t1, double t2)RemoveBrownPtoN_F64setK(double fx, double fy, double skew, double cx, double cy)Specify camera calibration parametersvoidsetTolerance(double tol)
-
-
-
Field Detail
-
cx
protected double cx
-
cy
protected double cy
-
fx
protected double fx
-
fy
protected double fy
-
skew
protected double skew
-
params
protected RadialTangential_F64 params
-
-
Method Detail
-
setTolerance
public void setTolerance(double tol)
-
setK
public RemoveBrownPtoN_F64 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 RemoveBrownPtoN_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 pixely- Distorted y-coordinate pixelout- Undistorted normalized coordinate.
-
copyConcurrent
public RemoveBrownPtoN_F64 copyConcurrent()
- Specified by:
copyConcurrentin interfaceboofcv.struct.distort.Point2Transform2_F64
-
-