#include <stdio.h>
#include <math.h>
#include <AR/param.h>
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 PD_LOOP 3 |
Definition at line 16 of file paramDistortion.c.
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.
dist_factor | distorsion factors of used camera | |
ix | x in ideal screen coordinates | |
iy | y in ideal screen coordinates | |
ox | resulted x in observed screen coordinates | |
oy | resulted y in observed screen coordinates |
Definition at line 53 of file 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.
dist_factor | distorsion factors of used camera | |
ox | x in observed screen coordinates | |
oy | y in observed screen coordinates | |
ix | resulted x in ideal screen coordinates | |
iy | resulted y in ideal screen coordinates |
Definition at line 18 of file paramDistortion.c.