00001 /******************************************************************************* 00002 * MatchResult.h 00003 * 00004 * (C) 2007 AG Aktives Sehen <agas@uni-koblenz.de> 00005 * Universitaet Koblenz-Landau 00006 *******************************************************************************/ 00007 00008 #ifndef MatchResult_H 00009 #define MatchResult_H 00010 00011 #include "Workers/KeyPointExtraction/KeyPoint.h" 00012 #include "Workers/KeyPointExtraction/KeyPointMatch.h" 00013 00014 #include "Workers/Math/Point2D.h" 00015 #include "Workers/Math/Homography.h" 00016 00017 #include "Workers/Puma2/ColorImageRGB8.h" 00018 00024 struct MatchResult 00025 { 00027 std::string objectName; 00028 std::string objectType; 00029 00031 puma2::ColorImageRGB8* image; 00032 int imageIndex; 00033 std::string imageName; 00034 std::vector<Point2D> outline; 00035 std::vector<Point2D> bBox; 00036 Point2D center; 00037 00039 int boundingBoxIndex; 00041 std::vector< unsigned > keyPointIndexMap; 00042 00044 std::vector< KeyPoint > objectKeyPoints; 00045 00047 std::list< KeyPointMatch > stage1Matches; 00048 std::vector< std::list< KeyPointMatch> > stage2Matches; 00049 std::list< KeyPointMatch > stage3Matches; 00050 00051 std::vector< KeyPoint > sceneKeyPointsWithinOutline; 00052 00054 Homography homography; 00055 }; 00056 00057 #endif