Module imagingbook.calibrate.lib
Package imagingbook.calibration.zhang
Class RadialDistortionEstimator
java.lang.Object
imagingbook.calibration.zhang.RadialDistortionEstimator
This class defines methods for estimating the radial lens distortion parameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected double[]estimateLensDistortion(Camera cam, ViewTransform[] views, imagingbook.common.geometry.basic.Pnt2d[] modelPts, imagingbook.common.geometry.basic.Pnt2d[][] obsPts) Estimates the lens distortion from multiple views, starting from an initial (linear) camera model.
-
Constructor Details
-
RadialDistortionEstimator
public RadialDistortionEstimator()
-
-
Method Details
-
estimateLensDistortion
protected double[] estimateLensDistortion(Camera cam, ViewTransform[] views, imagingbook.common.geometry.basic.Pnt2d[] modelPts, imagingbook.common.geometry.basic.Pnt2d[][] obsPts) Estimates the lens distortion from multiple views, starting from an initial (linear) camera model.- Parameters:
cam- the initial (linear) camera modelviews- a sequence of extrinsic view transformationsmodelPts- the set of 2D model points (on the planar calibration target)obsPts- a sequence of 2D image point sets, one set for each view- Returns:
- a vector of lens distortion coefficients
-