#include <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 | x0 |
image centre x/y coordinates | |
double | y0 |
image centre x/y coordinates | |
double | zh |
third homogeneous image coordinate | |
union { | |
struct { | |
double K1 | |
double thres_R2 | |
double thres_dR | |
double outer_a | |
double outer_b | |
} radial1 | |
struct { | |
double K1 | |
double K2 | |
double thres_R2 | |
double thres_dR | |
double outer_a | |
double outer_b | |
} radial2 | |
struct { | |
double K1 | |
double K2 | |
double K3 | |
double thres_R2 | |
double thres_dR | |
double outer_a | |
double outer_b | |
} radial3 | |
struct { | |
double cxx | |
double cxy | |
double cyx | |
double cyy | |
} xydist4 | |
} | nonlinear |
Supplementary parameters for non-linear camera models. | |
double | gamma |
gamma value of images taken using this camera | |
struct { | |
Gan_Bool(* project )(struct Gan_Camera *camera, Gan_Vector3 *X, Gan_Vector3 *p, Gan_Matrix22 *HX, struct Gan_Camera *HC, int *error_code) | |
Gan_Bool(* backproject )(struct Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *X, int *error_code) | |
Gan_Bool(* add_distortion )(struct Gan_Camera *camera, Gan_Vector3 *pu, Gan_Vector3 *p, int *error_code) | |
Gan_Bool(* remove_distortion )(struct Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *pu, int *error_code) | |
} | point |
point functions | |
struct { | |
Gan_Bool(* project )(struct Gan_Camera *camera, Gan_Vector3 *L, Gan_Vector3 *l) | |
Gan_Bool(* backproject )(struct Gan_Camera *camera, Gan_Vector3 *l, Gan_Vector3 *L) | |
} | line |
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
|