|
Jafar
|
Incapsulates all matrices used in calibrage. More...
Incapsulates all matrices used in calibrage.
Definition at line 15 of file CalibrageMatrices.hpp.
#include <CalibrageMatrices.hpp>
Public Types | |
| enum | STATE { NOT_INITIALIZED, INITIALIZED } |
Public Member Functions | |
| void | readFromFile (char *fileName) |
| load the data member from a file. | |
| void | readFromOldFile (char *directory) |
| void | saveToFile (char *fileName) |
| save this class (todo) | |
| void | readFromOldFormatFiles (int nb_lig_original, int nb_col_original, int taux_reduction_i_, int taux_reduction_j_, char *oldFilesDirectory) |
| void | readFromCalibrationDir (char *projection_droite_file, char *projection_gauche_file, char *intr_droite_file, char *intr_gauche_file, char *dist_droite_file, char *dist_gauche_file) |
| read matrixes from files of the calibration directory | |
| void | calculateRectificationBords (int nblig, int nbcol, int dist_type, int taux_reduction) |
| calculates the bord of the rectification window i.e. | |
| void | estimateRectificationParams (int nblig, int nbcol, int dist_type, int taux_reduction) |
| calculate the Rectification params | |
Public Attributes | |
| CalibrageMatrices::STATE | state |
| status of the class object | |
| CalibrageMatrices::STATE | estimate_state |
| double | mat_projection_droite [16] |
| right projection matrix | |
| double | mat_projection_gauche [16] |
| left projection matrix | |
| double | mat_intrinseque_droite [16] |
| right intrinsec matrix | |
| double | mat_distortion_droite [3] |
| right dostortion matrix | |
| double | mat_intrinseque_gauche [16] |
| left intrinsec matrix | |
| double | mat_distortion_gauche [3] |
| left distortion matrix | |
| double | mat_baseline [2] |
| baseline matrix | |
| double | mat_intrinseque_rectifiee_droite [16] |
| right rectified intrinsec matrix | |
| double | mat_intrinseque_rectifiee_gauche [16] |
| left rectified intrinsec matrix | |
| double | mat_rectification_droite [9] |
| right rectified matrix | |
| double | mat_rectification_gauche [9] |
| left rectified matrix | |
| double | mat_rect_2_cam_gauche [9] |
| rotation matrix of left camera | |
| int | nblig |
| Number of lignes of the original image. | |
| int | nbcol |
| Number of columns of the original image. | |
| int | imin |
| int | jmin |
| int | imax |
| int | jmax |
| int | nblig_rect |
| int | nbcol_rect |
Private Member Functions | |
| void | readVectorFromFile (const char *nfichier, int nSize, double *dbVector) |
| void jafar::stereo::CalibrageMatrices::calculateRectificationBords | ( | int | nblig, |
| int | nbcol, | ||
| int | dist_type, | ||
| int | taux_reduction | ||
| ) |
calculates the bord of the rectification window i.e.
imin, jmin, imax, jmax, nblig_rect, nbcol_rect
| void jafar::stereo::CalibrageMatrices::estimateRectificationParams | ( | int | nblig, |
| int | nbcol, | ||
| int | dist_type, | ||
| int | taux_reduction | ||
| ) |
calculate the Rectification params
MUST BE Called after calling readFromCalibrationDir
| void jafar::stereo::CalibrageMatrices::readFromCalibrationDir | ( | char * | projection_droite_file, |
| char * | projection_gauche_file, | ||
| char * | intr_droite_file, | ||
| char * | intr_gauche_file, | ||
| char * | dist_droite_file, | ||
| char * | dist_gauche_file | ||
| ) |
read matrixes from files of the calibration directory
| void jafar::stereo::CalibrageMatrices::readFromFile | ( | char * | fileName | ) |
load the data member from a file.
the file must be of param.stereo format. (for more detais see FIXME).
| void jafar::stereo::CalibrageMatrices::saveToFile | ( | char * | fileName | ) |
save this class (todo)
| Generated on Wed Oct 15 2014 00:37:51 for Jafar by doxygen 1.7.6.1 |
|