00001 #ifndef TRV_DENSIFICATOR_HPP
00002 #define TRV_DENSIFICATOR_HPP
00003
00004 #include "kernel/jafarException.hpp"
00005 #include "jmath/jblas.hpp"
00006 #include "jmath/ublasExtra.hpp"
00007
00008 #include <image/Image.hpp>
00009
00010 namespace jafar {
00011 namespace traversability {
00012
00022 class Densificator {
00023
00024 private:
00025 int mWinHalfWidth;
00026 int mWinHalfHeight;
00027 cv::Rect mWinRect;
00028
00029 public:
00030
00036 Densificator ( int winHalfWidth, int winHalfHeight ) :
00037 mWinHalfWidth(winHalfWidth), mWinHalfHeight(winHalfHeight) {};
00038 ~Densificator ( void ) {};
00039
00040
00041
00042
00043
00044
00058 void calc ( const jafar::image::Image &im0, const jafar::image::Image &im1,
00059 jafar::image::Image &mask, jafar::image::Image &imZncc );
00060
00061
00062
00063 public:
00064
00065 };
00066 }
00067 }
00068
00069
00070 #endif
00071