#include <gandalf/vision/camera.h>
Public Attributes | |
| Gan_CameraType | type |
| Type of camera. | |
| double | fx |
| parameters of linear camera focal distance in x/y pixels | |
| double | fy |
| parameters of linear camera focal distance in x/y pixels | |
| double | fy_over_fx |
| parameters of linear camera focal distance in x/y pixels | |
| double | x0 |
| image centre x/y coordinates | |
| double | y0 |
| image centre x/y coordinates | |
| double | zh |
| third homogeneous image coordinate | |
| union { | |
| struct { | |
| double skew | |
| skew parameters | |
| double kyx | |
| skew parameters | |
| Gan_Matrix23 Kinv | |
| inverse camera matrix | |
| } affine | |
| struct { | |
| double K1 | |
| Distortion coefficients. | |
| double thres_R2 | |
Thresholds on and . | |
| double thres_dR | |
Thresholds on and . | |
| double outer_a | |
| Outer linear model parameters. | |
| double outer_b | |
| Outer linear model parameters. | |
| } radial1 | |
| struct { | |
| double K1 | |
| Distortion coefficients. | |
| double K2 | |
| Distortion coefficients. | |
| double thres_R2 | |
Thresholds on and . | |
| double thres_dR | |
Thresholds on and . | |
| double outer_a | |
| Outer linear model parameters. | |
| double outer_b | |
| Outer linear model parameters. | |
| } radial2 | |
| struct { | |
| double K1 | |
| Distortion coefficients. | |
| double K2 | |
| Distortion coefficients. | |
| double K3 | |
| Distortion coefficients. | |
| double thres_R2 | |
Thresholds on and . | |
| double thres_dR | |
Thresholds on and . | |
| double outer_a | |
| Outer linear model parameters. | |
| double outer_b | |
| Outer linear model parameters. | |
| } radial3 | |
| struct { | |
| double cxx | |
| double cxy | |
| double cyx | |
| double cyy | |
| } xydist4 | |
| struct { | |
| double xla | |
| double xlp | |
| double xha | |
| double xhp | |
| double yla | |
| double ylp | |
| double yha | |
| double yhp | |
| double axx | |
| double axy | |
| double ayx | |
| double ayy | |
| } fcwarp | |
| struct { | |
| double skew | |
| skew and lower triangle components store in a scale-independent manner | |
| double kyx | |
| skew and lower triangle components store in a scale-independent manner | |
| double kzx | |
| skew and lower triangle components store in a scale-independent manner | |
| double kzy | |
| skew and lower triangle components store in a scale-independent manner | |
| Gan_Matrix33 K | |
| non-triangular camera matrix and its inverse | |
| Gan_Matrix33 Kinv | |
| non-triangular camera matrix and its inverse | |
| Gan_CubicBSplineWeightBlock * weight | |
| Cubic B-spline parameters. | |
| Gan_CubicBSplineSupport * support | |
| Support for back-projection. | |
| } cbspline | |
| } | nonlinear |
| Supplementary parameters for non-linear camera models. | |
| struct { | |
| Gan_Bool(* project )(const struct Gan_Camera *camera, Gan_Vector3 *X, Gan_Vector3 *p, Gan_PositionState *Xpprev, Gan_Matrix22 *HX, struct Gan_Camera *HC, int *error_code) | |
| point projection function | |
| Gan_Bool(* backproject )(const struct Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *X, Gan_PositionState *pXprev, int *error_code) | |
| point back-projection function | |
| Gan_Bool(* add_distortion )(const struct Gan_Camera *camera, Gan_Vector3 *pu, Gan_Vector3 *p, Gan_PositionState *pupprev, int *error_code) | |
| function to add distortion to a point | |
| Gan_Bool(* remove_distortion )(const struct Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *pu, Gan_PositionState *ppuprev, int *error_code) | |
| function to remove distortion from a point | |
| } | point |
| point functions | |
| struct { | |
| Gan_Bool(* project )(const struct Gan_Camera *camera, Gan_Vector3 *L, Gan_Vector3 *l) | |
| line projection function | |
| Gan_Bool(* backproject )(const struct Gan_Camera *camera, Gan_Vector3 *l, Gan_Vector3 *L) | |
| line back-projection function | |
| } | line |
| line functions | |
|
|
Supplementary parameters for non-linear camera models.
The thresholds are the square |
1.3.9.1