Added detector and descriptor types in comments

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@27 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe 2011-11-20 03:26:06 +00:00
parent 91c2ac1f04
commit 09e42557df

View File

@ -61,7 +61,9 @@ int main(int argc, char * argv[])
// EXTRACT KEYPOINTS
////////////////////////////
// The detector can be any of (see OpenCV features2d.hpp):
// cv::FeatureDetector * detector = new cv::OrbFeatureDetector();
// cv::FeatureDetector * detector = new cv::FastFeatureDetector();
// cv::FeatureDetector * detector = new cv::MserFeatureDetector();
// cv::FeatureDetector * detector = new cv::SiftFeatureDetector();
// cv::FeatureDetector * detector = new cv::SurfFeatureDetector();
// cv::FeatureDetector * detector = new cv::StarFeatureDetector();
@ -76,6 +78,7 @@ int main(int argc, char * argv[])
////////////////////////////
// The extractor can be any of (see OpenCV features2d.hpp):
// cv::DescriptorExtractor * detector = new cv::BriefDescriptorExtractor();
// cv::DescriptorExtractor * detector = new cv::OrbDescriptorExtractor();
// cv::DescriptorExtractor * detector = new cv::SiftDescriptorExtractor();
// cv::DescriptorExtractor * detector = new cv::SurfDescriptorExtractor();
cv::DescriptorExtractor * extractor = new cv::SurfDescriptorExtractor();