projection
Classes | Macros | Functions
ocam_functions.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include <math.h>
#include <cv.h>
#include <highgui.h>

Go to the source code of this file.

Classes

struct  ocam_model
 

Macros

#define CMV_MAX_BUF   1024
 
#define MAX_POL_LENGTH   64
 

Functions

int get_ocam_model (struct ocam_model *myocam_model, const char *filename)
 
void world2cam (double point2D[2], double point3D[3], struct ocam_model *myocam_model)
 
void cam2world (double point3D[3], double point2D[2], struct ocam_model *myocam_model)
 
void create_perspective_undistortion_LUT (CvMat *mapx, CvMat *mapy, struct ocam_model *ocam_model, float sf)
 
void create_panoramic_undistortion_LUT (CvMat *mapx, CvMat *mapy, float Rmin, float Rmax, float xc, float yc)
 

Macro Definition Documentation

◆ CMV_MAX_BUF

#define CMV_MAX_BUF   1024

◆ MAX_POL_LENGTH

#define MAX_POL_LENGTH   64

Function Documentation

◆ cam2world()

void cam2world ( double  point3D[3],
double  point2D[2],
struct ocam_model myocam_model 
)

◆ create_panoramic_undistortion_LUT()

void create_panoramic_undistortion_LUT ( CvMat *  mapx,
CvMat *  mapy,
float  Rmin,
float  Rmax,
float  xc,
float  yc 
)

◆ create_perspective_undistortion_LUT()

void create_perspective_undistortion_LUT ( CvMat *  mapx,
CvMat *  mapy,
struct ocam_model ocam_model,
float  sf 
)

◆ get_ocam_model()

int get_ocam_model ( struct ocam_model myocam_model,
const char *  filename 
)

◆ world2cam()

void world2cam ( double  point2D[2],
double  point3D[3],
struct ocam_model myocam_model 
)