00001
00002
00003 #ifndef JFR_CORRELATION_HPP
00004 #define JFR_CORRELATION_HPP
00005
00006 #include "image/Image.hpp"
00007 #include "stereo/ImagesSizes.hpp"
00008 #include "stereo/ImagesTemporary.hpp"
00009 #include "stereo/CorrelationParams.hpp"
00010 #include "stereo/CorrelationResults.hpp"
00011
00012
00013 namespace jafar {
00015 namespace stereo {
00016
00017
00024 void jfrCorrelationCensus (::jafar::image::Image& srcImage_gauche,
00025 ::jafar::image::Image& srcImage_droite,
00026 ImagesSizes& imagesSizes,
00027 CorrelationParams& correlationParams,
00028 CorrelationResults& correlationResults);
00029
00030
00031
00038 void jfrCorrelationZncc (::jafar::image::Image& srcImage_gauche,
00039 ::jafar::image::Image& srcImage_droite,
00040 ImagesTemporary& images_tmp_gauches,
00041 ImagesTemporary& images_tmp_droites,
00042 CorrelationParams& correlationParams,
00043 CorrelationResults& correlationResults);
00044
00045
00046
00053 void jfrTransform_census_8bits (::jafar::image::Image& srcImage,
00054 ImagesTemporary& imagesTmp,
00055 CorrelationParams::CENSUS_TYPE type_census,
00056 ::jafar::image::Image& imCensus);
00057
00058
00059 }
00060 }
00061
00062 #endif //JFR_CORRELATION_HPP