Package boofcv.alg.distort.brown
Class AddBrownPtoN_F64
- java.lang.Object
-
- boofcv.alg.distort.brown.AddBrownPtoN_F64
-
- All Implemented Interfaces:
boofcv.struct.distort.Point2Transform2_F64
public class AddBrownPtoN_F64 extends java.lang.Object implements boofcv.struct.distort.Point2Transform2_F64Given an undistorted pixel coordinate, compute the distorted normalized image coordinate.
-
-
Field Summary
Fields Modifier and Type Field Description protected RadialTangential_F64params
-
Constructor Summary
Constructors Constructor Description AddBrownPtoN_F64()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(double x, double y, georegression.struct.point.Point2D_F64 out)Adds radial distortionAddBrownPtoN_F64copyConcurrent()AddBrownPtoN_F64setDistortion(double[] radial, double t1, double t2)Specify intrinsic camera parametersAddBrownPtoN_F64setK(double fx, double fy, double skew, double cx, double cy)Specify camera calibration parameters
-
-
-
Field Detail
-
params
protected RadialTangential_F64 params
-
-
Method Detail
-
setK
public AddBrownPtoN_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 AddBrownPtoN_F64 setDistortion(double[] radial, double t1, double t2)
Specify intrinsic camera parameters- Parameters:
radial- Radial distortion parameters
-
compute
public void compute(double x, double y, georegression.struct.point.Point2D_F64 out)Adds radial distortion- Specified by:
computein interfaceboofcv.struct.distort.Point2Transform2_F64- Parameters:
x- Undistorted x-coordinate pixely- Undistorted y-coordinate pixelout- Distorted pixel coordinate.
-
copyConcurrent
public AddBrownPtoN_F64 copyConcurrent()
- Specified by:
copyConcurrentin interfaceboofcv.struct.distort.Point2Transform2_F64
-
-