fixed compile error; renamed createDescriptorMatch to createGenericDescriptorMatch

This commit is contained in:
Maria Dimashova
2010-06-28 16:03:01 +00:00
parent add94f9bd6
commit 69adf86afe
4 changed files with 12 additions and 12 deletions

View File

@@ -1,8 +1,9 @@
#include <cv.h>
#include <cvaux.h>
#include "opencv2/core/core.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/features2d/features2d.hpp"
#include <highgui.h>
#include <string>
#include <cstdio>
using namespace cv;
@@ -23,7 +24,7 @@ int main(int argc, char** argv)
std::string alg_name = std::string(argv[3]);
std::string params_filename = std::string(argv[4]);
GenericDescriptorMatch *descriptorMatch = GenericDescriptorMatch::CreateDescriptorMatch (alg_name, params_filename);
GenericDescriptorMatch *descriptorMatch = createGenericDescriptorMatch(alg_name, params_filename);
if( descriptorMatch == 0 )
{
printf ("Cannot create descriptor\n");