00001
00002
00003 #ifndef RECONSTRUCTION_PARAMS_HPP
00004 #define RECONSTRUCTION_PARAMS_HPP
00005
00006 #include "stereo/CalibrageMatrices.hpp"
00007 #include "stereo/ImagesSizes.hpp"
00008
00009 namespace jafar {
00011 namespace stereo {
00012
00017 class ReconstructionParams
00018 {
00019 public:
00020
00021 enum STATE { NOT_INITIALIZED, MATRICES_INITIALIZED};
00022
00023
00024 enum RECONSTRUCTION_TYPE { RECONSTRUCTION_NO_SIGMA,
00025 RECONSTRUCTION_SIGMA };
00026
00027
00028 enum RECONSTRUCTION_REPERE { REPERE_RECTIFIE,
00029 REPERE_CAMERA };
00030
00031
00032 ReconstructionParams();
00033 ~ReconstructionParams();
00034
00035
00037 void initialize(CalibrageMatrices& calibrageMatrices);
00039 void info();
00040
00041
00043 ReconstructionParams::STATE state;
00044
00045
00047 double baseline[2];
00049 double rotation_rect_2_cam_gauche[9];
00050 };
00051
00052
00053 }
00054 }
00055
00056 #endif // RECONSTRUCTION_PARAMS_HPP