boofcv.alg.geo.calibration
Class Zhang99ParamAll
- java.lang.Object
-
- boofcv.alg.geo.calibration.Zhang99ParamCamera
-
- boofcv.alg.geo.calibration.Zhang99ParamAll
-
public class Zhang99ParamAll extends Zhang99ParamCamera
Parameters for batch optimization.
Same as in the paper, but with the addition of tangential distortion terms.
Calibration matrix = [ a c x0 ; 0 b y0; 0 0 1];
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classZhang99ParamAll.View
-
Field Summary
Fields Modifier and Type Field and Description Zhang99ParamAll.View[]views-
Fields inherited from class boofcv.alg.geo.calibration.Zhang99ParamCamera
a, assumeZeroSkew, b, c, includeTangential, radial, t1, t2, x0, y0
-
-
Constructor Summary
Constructors Constructor and Description Zhang99ParamAll()Zhang99ParamAll(boolean assumeZeroSkew, int numRadial, boolean includeTangential)Zhang99ParamAll(boolean assumeZeroSkew, int numRadial, boolean includeTangential, int numViews)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IntrinsicParametersconvertToIntrinsic()Converts to a generalized class that specifies camera intrinsic parametersintconvertToParam(double[] param)Writes the parameters into the provided arrayZhang99ParamAllcopy()Zhang99ParamAllcreateNew()intnumParameters()Returns the total number of parameters being estimatedintsetFromParam(double[] param)Sets the camera parameters from the passed in arrayvoidsetNumberOfViews(int numViews)-
Methods inherited from class boofcv.alg.geo.calibration.Zhang99ParamCamera
zeroNotUsed
-
-
-
-
Field Detail
-
views
public Zhang99ParamAll.View[] views
-
-
Constructor Detail
-
Zhang99ParamAll
public Zhang99ParamAll(boolean assumeZeroSkew, int numRadial, boolean includeTangential, int numViews)
-
Zhang99ParamAll
public Zhang99ParamAll(boolean assumeZeroSkew, int numRadial, boolean includeTangential)
-
Zhang99ParamAll
public Zhang99ParamAll()
-
-
Method Detail
-
setNumberOfViews
public void setNumberOfViews(int numViews)
-
createNew
public Zhang99ParamAll createNew()
-
copy
public Zhang99ParamAll copy()
-
numParameters
public int numParameters()
Description copied from class:Zhang99ParamCameraReturns the total number of parameters being estimated- Overrides:
numParametersin classZhang99ParamCamera
-
setFromParam
public int setFromParam(double[] param)
Description copied from class:Zhang99ParamCameraSets the camera parameters from the passed in array- Overrides:
setFromParamin classZhang99ParamCamera- Returns:
- number of parameters read.
-
convertToParam
public int convertToParam(double[] param)
Description copied from class:Zhang99ParamCameraWrites the parameters into the provided array- Overrides:
convertToParamin classZhang99ParamCamera- Returns:
- number of parameters
-
convertToIntrinsic
public IntrinsicParameters convertToIntrinsic()
Converts to a generalized class that specifies camera intrinsic parameters- Returns:
- Intrinsic parameters
-
-
DataMelt 3.0 © DataMelt by jWork.ORG