Defines | Functions
paramDistortion.c File Reference
#include <stdio.h>
#include <math.h>
#include <AR/param.h>
Include dependency graph for backup/lib/SRC/AR/paramDistortion.c:

Go to the source code of this file.

Defines

#define PD_LOOP   3

Functions

int arParamIdeal2Observ (const double dist_factor[4], const double ix, const double iy, double *ox, double *oy)
 Convert ideal screen coordinates of a vertex to observed ones.
int arParamObserv2Ideal (const double dist_factor[4], const double ox, const double oy, double *ix, double *iy)
 Convert observed screen coordinates of a vertex to ideal ones.

Define Documentation

#define PD_LOOP   3

Definition at line 16 of file backup/lib/SRC/AR/paramDistortion.c.


Function Documentation

int arParamIdeal2Observ ( const double  dist_factor[4],
const double  ix,
const double  iy,
double *  ox,
double *  oy 
)

Convert ideal screen coordinates of a vertex to observed ones.

Ideal coordinates mean that the distortion of the camera is compensated (so a straight line looks straight). In observed coordinates the camera-distortion is not compensated and thus a straight line is not shown really straight.

Parameters:
dist_factordistorsion factors of used camera
ixx in ideal screen coordinates
iyy in ideal screen coordinates
oxresulted x in observed screen coordinates
oyresulted y in observed screen coordinates
Returns:
0 if success, -1 otherwise

Definition at line 53 of file backup/lib/SRC/AR/paramDistortion.c.

int arParamObserv2Ideal ( const double  dist_factor[4],
const double  ox,
const double  oy,
double *  ix,
double *  iy 
)

Convert observed screen coordinates of a vertex to ideal ones.

Ideal coordinates mean that the distortion of the camera is compensated (so a straight line looks straight). In observed coordinates the camera-distortion is not compensated and thus a straight line is not shown really straight.

Parameters:
dist_factordistorsion factors of used camera
oxx in observed screen coordinates
oyy in observed screen coordinates
ixresulted x in ideal screen coordinates
iyresulted y in ideal screen coordinates
Returns:
0 if success, -1 otherwise

Definition at line 18 of file backup/lib/SRC/AR/paramDistortion.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:15:01