Main Page   Modules   Compound List   File List   Compound Members   File Members  

Gan_Camera Struct Reference
[Camera geometric/photometric transformations]

Structure containing camera parameters in double precision. More...

#include <camera.h>

List of all members.

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


Detailed Description

Structure containing camera parameters in double precision.


Member Data Documentation

Gan_Bool(* Gan_Camera::add_distortion)( struct Gan_Camera *camera, Gan_Vector3 *pu, Gan_Vector3 *p, int *error_code )
 

function to add distortion to a point

Gan_Bool(* Gan_Camera::backproject)( struct Gan_Camera *camera, Gan_Vector3 *l, Gan_Vector3 *L )
 

line back-projection function

double Gan_Camera::K1
 

Distortion coefficients.

double Gan_Camera::K2
 

Distortion coefficients.

double Gan_Camera::K3
 

Distortion coefficients.

union { ... } Gan_Camera::nonlinear
 

Supplementary parameters for non-linear camera models.

The thresholds are the square of the undistorted radial camera coordinate where the first reversal of distortion occurs (thres_R2), and the similar threshold on the distorted radial distance , involving both the distortion coefficient and (thres_dR), at the same reversal point. Both thresholds are set to DBL_MAX if there is no reversal.

double Gan_Camera::outer_a
 

Outer linear model parameters.

double Gan_Camera::outer_b
 

Outer linear model parameters.

Gan_Bool(* Gan_Camera::project)( struct Gan_Camera *camera, Gan_Vector3 *L, Gan_Vector3 *l )
 

line projection function

Gan_Bool(* Gan_Camera::remove_distortion)( struct Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *pu, int *error_code)
 

function to remove distortion from a point

double Gan_Camera::thres_dR
 

Thresholds on and .

double Gan_Camera::thres_R2
 

Thresholds on and .


The documentation for this struct was generated from the following file:
Generated on Mon Oct 13 16:14:46 2003 by doxygen1.3-rc1