Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
jafar::stereo::ImagesSizes Class Reference

In this class we save all the values of the sizes of differents images. More...


Detailed Description

In this class we save all the values of the sizes of differents images.

Only the date members 'taux_reduction', 'debut_', end 'fin_' are changeable by the user, all the reste are calculated dependigon them.

Definition at line 20 of file ImagesSizes.hpp.

#include <ImagesSizes.hpp>

List of all members.

Public Types

enum  STATE { NOT_INITIALIZED, INITIALIZED }
 State of object.

Public Member Functions

 ImagesSizes (const ImagesSizes &srcImagesSizes)
 copy constructor
ImagesSizesoperator= (const ImagesSizes &srcImagesSizes)
 operator =
void getRectifiedImageSize (int &nWidth, int &nHeight)
 return the size of rectified image
int getRectifiedImageWidth ()
 return the width of rectified image.
int getRectifiedImageHeight ()
 return the height of rectified image.
void initialize (int nblig, int nbcol, int taux_reduction_i, int taux_reduction_j, double debut_ligne, double fin_ligne, double debut_colonne, double fin_colonne)
 initialize the data member
void initialize (CalibrageMatrices &calibMatrices)
 initialize the data member by using a CalibrationMatrices object
void clean ()
 clean
void info ()
 print descriptive data

Public Attributes

ImagesSizes::STATE state
 State of the object.
int nb_lig_original
 Height of original images.
int nb_col_original
 Width of original images.
int taille_originale
 Size of original images.
int taux_reduction_i
 reduction rate in lines
int taux_reduction_j
 reduction rate in columns
double debut_ligne
 begin line on sub_image (percentage between 0 and 1)
double fin_ligne
 end line on sub_image (percentage between 0 and 1)
double debut_colonne
 begin column on sub_image (percentage between 0 and 1)
double fin_colonne
 end column on sub_image (percentage between 0 and 1)
int nb_lig_reduit
 hieght of images after reduction (without crop)
int nb_col_reduit
 width of images after reduction (without crop)
int taille_reduite
 size of images after reduction (without crop)
int nb_lig_crop
 height of images after crop (without reduction)
int nb_col_crop
 width of images after crop (without reduction)
int taille_crop
 size of images after crop (without reduction)
int i_min_orig
 coordinates of sub_image in the original image
int i_max_orig
 coordinates of sub_image in the original image
int j_min_orig
 coordinates of sub_image in the original image
int j_max_orig
 coordinates of sub_image in the original image
int i_min
 coordinates of sub_image in the reduced image
int i_max
 coordinates of sub_image in the reduced image
int j_min
 coordinates of sub_image in the reduced image
int j_max
 coordinates of sub_image in the reduced image
int nb_lig_final
 height of final image (after reduction and crop)
int nb_col_final
 width of final image (after reduction and crop)
int taille_finale
 size of final image (after reduction and crop)

Member Function Documentation

return the height of rectified image.

see getRectifiedImageSize

void jafar::stereo::ImagesSizes::getRectifiedImageSize ( int &  nWidth,
int &  nHeight 
)

return the size of rectified image

Note:
In our algorithm the rectification and reduction are done at the same time, so this function return the size of the final image (after reduction and rectification)

return the width of rectified image.

see getRectifiedImageSize

void jafar::stereo::ImagesSizes::initialize ( int  nblig,
int  nbcol,
int  taux_reduction_i,
int  taux_reduction_j,
double  debut_ligne,
double  fin_ligne,
double  debut_colonne,
double  fin_colonne 
)

initialize the data member

initialize the data member by using a CalibrationMatrices object

a more pratiaue methode


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:51 for Jafar by doxygen 1.7.6.1
LAAS-CNRS