00001 #ifndef LS_MATCHING
00002 #define LS_MATCHING
00003
00004 #include <iostream>
00005 #include <vector>
00006
00007 #include <image/Image.hpp>
00008 #include <lines/lineSegment.hpp>
00009 #include <lines/lineSegmentSet.hpp>
00010 #include <lines/matchingSet.hpp>
00011 #include <lines/histogram.hpp>
00012 #include <lines/lsMisc.hpp>
00013
00014 namespace jafar{
00015 namespace lines{
00016
00018
00022 class LsMatching{
00023 public:
00025
00035 void matchingSchemeHistograms(jafar::lines::LineSegmentSet& lsA, jafar::lines::LineSegmentSet& lsB, jafar::lines::MatchingSet& match, double histoThresh);
00036
00038
00052 void matchingSchemeGreyspace(jafar::lines::LineSegmentSet& lsA, jafar::lines::LineSegmentSet& lsB, jafar::lines::MatchingSet& match, double thresh);
00053
00055
00073 void matchingSchemeHistoAndGrey(jafar::lines::LineSegmentSet& lsA, jafar::lines::LineSegmentSet& lsB, jafar::lines::MatchingSet& match, double threshHisto, double threshGrey);
00074
00076
00100 void matchingSchemeHistoAndGreyWithPrediction(jafar::lines::LineSegmentSet& lsA, jafar::lines::LineSegmentSet& lsB, jafar::lines::MatchingSet& match, double threshHisto, double threshGrey, double threshA, double threshMPt);
00101
00102
00104
00107 void topologicalFilter(jafar::lines::LineSegmentSet& lsA, jafar::lines::LineSegmentSet& lsB, jafar::lines::MatchingSet& match);
00108
00109 };
00110 }
00111 }
00112 #endif