boofcv.alg.geo.calibration
Class Zhang99ParamCamera
- java.lang.Object
-
- boofcv.alg.geo.calibration.Zhang99ParamCamera
-
- Direct Known Subclasses:
- Zhang99ParamAll
public class Zhang99ParamCamera extends java.lang.ObjectIntrinsic camera parameters for optimization in Zhang99
-
-
Field Summary
Fields Modifier and Type Field and Description doubleabooleanassumeZeroSkewdoublebdoublecbooleanincludeTangentialdouble[]radialdoublet1doublet2doublex0doubley0
-
Constructor Summary
Constructors Constructor and Description Zhang99ParamCamera()Zhang99ParamCamera(boolean assumeZeroSkew, int numRadial, boolean includeTangential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intconvertToParam(double[] param)Writes the parameters into the provided arrayintnumParameters()Returns the total number of parameters being estimatedintsetFromParam(double[] param)Sets the camera parameters from the passed in arrayvoidzeroNotUsed()Sets to zero parameters which are assumed zero and not estimated
-
-
-
Field Detail
-
a
public double a
-
b
public double b
-
c
public double c
-
x0
public double x0
-
y0
public double y0
-
radial
public double[] radial
-
t1
public double t1
-
t2
public double t2
-
assumeZeroSkew
public boolean assumeZeroSkew
-
includeTangential
public boolean includeTangential
-
-
Constructor Detail
-
Zhang99ParamCamera
public Zhang99ParamCamera(boolean assumeZeroSkew, int numRadial, boolean includeTangential)
-
Zhang99ParamCamera
public Zhang99ParamCamera()
-
-
Method Detail
-
zeroNotUsed
public void zeroNotUsed()
Sets to zero parameters which are assumed zero and not estimated
-
numParameters
public int numParameters()
Returns the total number of parameters being estimated
-
setFromParam
public int setFromParam(double[] param)
Sets the camera parameters from the passed in array- Returns:
- number of parameters read.
-
convertToParam
public int convertToParam(double[] param)
Writes the parameters into the provided array- Returns:
- number of parameters
-
-
DataMelt 3.0 © DataMelt by jWork.ORG