Package boofcv.alg.distort.brown
Class RemoveBrownPtoN_F32
java.lang.Object
boofcv.alg.distort.brown.RemoveBrownPtoN_F32
- All Implemented Interfaces:
Point2Transform2_F32
@Generated("boofcv.alg.distort.brown.RemoveBrownPtoN_F64")
public class RemoveBrownPtoN_F32
extends Object
implements Point2Transform2_F32
Converts the observed distorted pixels into normalized image coordinates.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompute(float x, float y, Point2D_F32 out) Removes radial distortionCreates a copy of this transform for use in concurrent application.voidreset()setDistortion(@org.jetbrains.annotations.Nullable double[] radial, double t1, double t2) setDistortion(double radial1, double radial2) setK(double fx, double fy, double skew, double cx, double cy) Specify camera calibration parametersConvenience function for assigning all parameters from a brown camera modelvoidsetTolerance(float tol)
-
Field Details
-
cx
public float cx -
cy
public float cy -
fx
public float fx -
fy
public float fy -
skew
public float skew -
params
-
-
Constructor Details
-
RemoveBrownPtoN_F32
public RemoveBrownPtoN_F32() -
RemoveBrownPtoN_F32
public RemoveBrownPtoN_F32(float tol)
-
-
Method Details
-
setTolerance
public void setTolerance(float tol) -
setK
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_F32 setDistortion(@Nullable @org.jetbrains.annotations.Nullable double[] radial, double t1, double t2) -
setDistortion
-
setParameters
Convenience function for assigning all parameters from a brown camera model -
compute
Removes radial distortion- Specified by:
computein interfacePoint2Transform2_F32- Parameters:
x- Distorted x-coordinate pixely- Distorted y-coordinate pixelout- Undistorted normalized coordinate.
-
copyConcurrent
Description copied from interface:Point2Transform2_F32Creates a copy of this transform for use in concurrent application. What that means is that any variable which might be modified by a concurrent call toPoint2Transform2_F32.compute(float, float, georegression.struct.point.Point2D_F32)is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.- Specified by:
copyConcurrentin interfacePoint2Transform2_F32
-
reset
public void reset()
-