#include <cameraf.h>
Public Attributes | |
| Gan_CameraType | type |
| Type of camera. | |
| float | fx |
| parameters of linear camera focal distance in x/y pixels | |
| float | fy |
| parameters of linear camera focal distance in x/y pixels | |
| float | x0 |
| image centre x/y coordinates | |
| float | y0 |
| image centre x/y coordinates | |
| float | zh |
| third homogeneous image coordinate | |
| union { | |
| struct { | |
| float K1 | |
| float thres_R2 | |
| float thres_dR | |
| float outer_a | |
| float outer_b | |
| } radial1 | |
| struct { | |
| float K1 | |
| float K2 | |
| float thres_R2 | |
| float thres_dR | |
| float outer_a | |
| float outer_b | |
| } radial2 | |
| struct { | |
| float K1 | |
| float K2 | |
| float K3 | |
| float thres_R2 | |
| float thres_dR | |
| float outer_a | |
| float outer_b | |
| } radial3 | |
| struct { | |
| float cxx | |
| float cxy | |
| float cyx | |
| float cyy | |
| } xydist4 | |
| } | nonlinear |
| Supplementary parameters for non-linear camera models. | |
| float | gamma |
| gamma value of images taken using this camera | |
| struct { | |
| Gan_Bool(* project )(struct Gan_Camera_f *camera, Gan_Vector3_f *X, Gan_Vector3_f *p, Gan_Matrix22_f *HX, struct Gan_Camera_f *HC, int *error_code) | |
| Gan_Bool(* backproject )(struct Gan_Camera_f *camera, Gan_Vector3_f *p, Gan_Vector3_f *X, int *error_code) | |
| Gan_Bool(* add_distortion )(struct Gan_Camera_f *camera, Gan_Vector3_f *pu, Gan_Vector3_f *p, int *error_code) | |
| Gan_Bool(* remove_distortion )(struct Gan_Camera_f *camera, Gan_Vector3_f *p, Gan_Vector3_f *pu, int *error_code) | |
| } | pointf |
| point functions | |
| struct { | |
| Gan_Bool(* project )(struct Gan_Camera_f *camera, Gan_Vector3_f *L, Gan_Vector3_f *l) | |
| Gan_Bool(* backproject )(struct Gan_Camera_f *camera, Gan_Vector3_f *l, Gan_Vector3_f *L) | |
| } | linef |
| line functions | |
|
|
function to add distortion to a point
|
|
|
line back-projection function
|
|
|
Distortion coefficients.
|
|
|
Distortion coefficients.
|
|
|
Distortion coefficients.
|
|
|
Supplementary parameters for non-linear camera models.
The thresholds are the square |
|
|
Outer linear model parameters.
|
|
|
Outer linear model parameters.
|
|
|
line projection function
|
|
|
function to remove distortion from a point
|
|
|
Thresholds on
|
|
|
Thresholds on
|
1.3-rc1