Jafar
|
00001 /* $Id$ */ 00002 00003 #ifndef _DSEG3D_DIRECT_SEGMENTS_3D_TRACKER_HPP_ 00004 #define _DSEG3D_DIRECT_SEGMENTS_3D_TRACKER_HPP_ 00005 00006 #include <image/Image.hpp> 00007 #include <geom/Segment.hpp> 00008 00009 00010 namespace jafar { 00011 namespace dseg { 00012 class Predictor; 00013 class SegmentsSet; 00014 } 00015 namespace dseg3d { 00016 class Segment3DObservation; 00022 class DirectSegments3DTracker { 00023 public: 00030 DirectSegments3DTracker(const dseg::Predictor* trackerPredictor, int _reduction, int _stereoReduction = 1); 00031 ~DirectSegments3DTracker(); 00035 void loadStereoParam(std::string const& filename); 00039 void loadLeftParam(std::string const& filename); 00043 void process( const jafar::image::Image& _leftImage, const jafar::image::Image& _rightImage ); 00047 const dseg::SegmentsSet& currentLines() const; 00051 const jafar::dseg::SegmentsSet& currentStereoLines() const; 00055 const std::list< jafar::geom::Segment3D >& segments3D() const; 00059 const std::list< Segment3DObservation >& segment3DObservations() const; 00063 jafar::image::Image* getDisparityImage() const; 00064 private: 00065 void computeLineEquations( jblas::vec4& eq1, jblas::vec4& eq2, const jblas::vec3& p1) const; 00066 private: 00067 struct Private; 00068 Private* const d; 00069 }; 00070 } 00071 } 00072 00073 #endif
Generated on Wed Oct 15 2014 00:37:18 for Jafar by doxygen 1.7.6.1 |