[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lensFunc Class Reference

#include <lensFunc.h>

List of all members.

Public Types

enum  lens_kind {
  no_lens = 0, rectilinear, equal_angle, equal_area,
  stereographic, orthographic, fisheye_model, universal_model
}
enum  camera_kind { no_cam = 0, digicam, slitcam, scanner }
enum  opt_purpose { align = 0, calibrate }

Public Member Functions

 lensFunc ()
 lensFunc (camera_kind c_type, int hPixels, int vPixels, double hPixmm, double vPixmm, lens_kind l_type, double FLmm, double cropRadPix=0)
 ~lensFunc ()
int fD_photo_sphere (fDesc *pfd)
int fD_sphere_photo (fDesc *pfd)
int photo_sphere (double x_sphr, double y_sphr, double *x_phot, double *y_phot)
int sphere_photo (double x_phot, double y_phot, double *x_sphr, double *y_sphr)
int photo_cart3d (double xyz_sphr[3], double *x_phot, double *y_phot)
int cart3d_photo (double x_phot, double y_phot, double xyz_sphr[3])
bool setColorChannel (int rgb)
int setOptPurpose (opt_purpose p, int optRad=2, bool optCen=false, bool optScl=false, bool optTca=false)
int getOptParams (double *ppa)
int setOptParams (double *ppa)
const char * setCamLens (camera_kind c_type, int hPixels, int vPixels, double hPixmm, double vPixmm, lens_kind l_type, double FLmm, double cropRadPix=0)
double getFL_mm ()
double avgFL_pix ()
const char * errMsg ()
const char * camDesc ()
const char * lensDesc ()
bool set_f_scale (double h_scl, double v_scl)
bool set_c_shift (double h_shfmm, double y_shfmm)
bool set_proj_params (double sina, double tana, double tanf)
bool set_rad_params (double pp[7])
bool set_tca_params (double RperG, double BperG)
void get_f_scale (double &h_scl, double &v_scl)
void get_c_shift (double &h_shfmm, double &v_shfmm)
void get_proj_params (double &sina, double &tana, double &tanf)
void get_rad_params (double pp[7])
void get_tca_params (double &RperG, double &BperG)
void get_w_f_scale (double &h_scl, double &v_scl)
void get_w_c_shift (double &h_shfmm, double &v_shfmm)
void get_w_proj_params (double &sina, double &tana, double &tanf)
void get_w_rad_params (double pp[7])
void get_w_tca_params (double &RperG, double &BperG)
double test_Tr_max ()
double test_Ta_max ()
double test_Sr_max ()
double test_Sa_max ()
double test_Trar (double v)
double test_Tara (double v)
double test_Srar (double v)
double test_Sara (double v)


Member Enumeration Documentation

enum lensFunc::camera_kind
 

Enumeration values:
no_cam 
digicam 
slitcam 
scanner 

enum lensFunc::lens_kind
 

Enumeration values:
no_lens 
rectilinear 
equal_angle 
equal_area 
stereographic 
orthographic 
fisheye_model 
universal_model 

enum lensFunc::opt_purpose
 

Enumeration values:
align 
calibrate 


Constructor & Destructor Documentation

lensFunc::lensFunc  ) 
 

lensFunc::lensFunc camera_kind  c_type,
int  hPixels,
int  vPixels,
double  hPixmm,
double  vPixmm,
lens_kind  l_type,
double  FLmm,
double  cropRadPix = 0
 

lensFunc::~lensFunc  )  [inline]
 


Member Function Documentation

double lensFunc::avgFL_pix  )  [inline]
 

const char * lensFunc::camDesc  ) 
 

int lensFunc::cart3d_photo double  x_phot,
double  y_phot,
double  xyz_sphr[3]
 

const char* lensFunc::errMsg  )  [inline]
 

int lensFunc::fD_photo_sphere fDesc pfd  ) 
 

int lensFunc::fD_sphere_photo fDesc pfd  ) 
 

void lensFunc::get_c_shift double h_shfmm,
double v_shfmm
 

void lensFunc::get_f_scale double h_scl,
double v_scl
 

void lensFunc::get_proj_params double sina,
double tana,
double tanf
 

void lensFunc::get_rad_params double  pp[7]  ) 
 

void lensFunc::get_tca_params double RperG,
double BperG
 

void lensFunc::get_w_c_shift double h_shfmm,
double v_shfmm
 

void lensFunc::get_w_f_scale double h_scl,
double v_scl
 

void lensFunc::get_w_proj_params double sina,
double tana,
double tanf
 

void lensFunc::get_w_rad_params double  pp[7]  ) 
 

void lensFunc::get_w_tca_params double RperG,
double BperG
 

double lensFunc::getFL_mm  )  [inline]
 

int lensFunc::getOptParams double ppa  ) 
 

const char * lensFunc::lensDesc  ) 
 

int lensFunc::photo_cart3d double  xyz_sphr[3],
double x_phot,
double y_phot
 

int lensFunc::photo_sphere double  x_sphr,
double  y_sphr,
double x_phot,
double y_phot
 

bool lensFunc::set_c_shift double  h_shfmm,
double  y_shfmm
 

bool lensFunc::set_f_scale double  h_scl,
double  v_scl
 

bool lensFunc::set_proj_params double  sina,
double  tana,
double  tanf
 

bool lensFunc::set_rad_params double  pp[7]  ) 
 

bool lensFunc::set_tca_params double  RperG,
double  BperG
 

const char * lensFunc::setCamLens camera_kind  c_type,
int  hPixels,
int  vPixels,
double  hPixmm,
double  vPixmm,
lens_kind  l_type,
double  FLmm,
double  cropRadPix = 0
 

bool lensFunc::setColorChannel int  rgb  ) 
 

int lensFunc::setOptParams double ppa  ) 
 

int lensFunc::setOptPurpose opt_purpose  p,
int  optRad = 2,
bool  optCen = false,
bool  optScl = false,
bool  optTca = false
 

int lensFunc::sphere_photo double  x_phot,
double  y_phot,
double x_sphr,
double y_sphr
 

double lensFunc::test_Sa_max  ) 
 

double lensFunc::test_Sara double  v  ) 
 

double lensFunc::test_Sr_max  ) 
 

double lensFunc::test_Srar double  v  ) 
 

double lensFunc::test_Ta_max  ) 
 

double lensFunc::test_Tara double  v  ) 
 

double lensFunc::test_Tr_max  ) 
 

double lensFunc::test_Trar double  v  ) 
 


The documentation for this class was generated from the following files:

Generated on Mon Sep 20 01:01:34 2010 for Hugintrunk by doxygen 1.3.9.1