00001 #ifndef _VAPI_CALIBRATE_CAMERA_ 00002 #define _VAPI_CALIBRATE_CAMERA_ 00003 #include "vapiTypes.h" 00004 #include "vapiCameraSettings.h" 00005 00006 typedef struct _vapi3Options 00007 { 00008 vOptions *Option0; 00009 vOptions *Option1; 00010 vOptions *Option2; 00011 } vapi3Options; 00012 00013 typedef struct _vapiCalibrateCameraReturn 00014 { 00015 IplImage *imResultA; 00016 IplImage *imResultB; 00017 double constant; 00018 vCameraSettings * CameraSettings; 00019 }vapiCalibrateCameraReturn; 00020 vapiCalibrateCameraReturn * 00021 vapiCalibrateCameraGetConstant (vOperationList * OperationList, 00022 vImages * Images, 00023 vapi3Options * OptionsA, 00024 vapi3Options * OptionsB, 00025 double distanceRealA, double distanceRealB, 00026 vBoolean CalculateConstant); 00027 00028 vapi3Options *vapi3OptionsInit (); 00029 00030 void v3OptionsFree (vapi3Options * Options); 00031 00032 void vCalibrateCamerReturnFree(vapiCalibrateCameraReturn * calibrateReturn); 00033 00034 #endif