|
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) |