Ajout entrée image générique avec CImg
This commit is contained in:
parent
1bc7621bf7
commit
3e071ff416
90 changed files with 69224 additions and 31887 deletions
|
@ -3,14 +3,14 @@
|
|||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
#include <sstream>
|
||||
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
#endif
|
||||
|
||||
#include "demo_lib_sift.h"
|
||||
#include "io_png/io_png.h"
|
||||
// #include "io_png/io_png.h"
|
||||
|
||||
#include "library.h"
|
||||
#include "frot.h"
|
||||
|
@ -18,21 +18,12 @@ using namespace std;
|
|||
#include "compute_asift_keypoints.h"
|
||||
#include "compute_asift_matches.h"
|
||||
|
||||
|
||||
// #include <opencv2/core/core.hpp>
|
||||
// #include <opencv2/highgui/highgui.hpp>
|
||||
// #include <opencv2/imgproc/imgproc.hpp>
|
||||
// using namespace cv;
|
||||
#include "CImg.h" //Need ImageMagick package
|
||||
|
||||
# define IM_X 800
|
||||
# define IM_Y 600
|
||||
|
||||
// struct image
|
||||
// {
|
||||
// vector<float> img;
|
||||
// int width;
|
||||
// int height;
|
||||
// } image;
|
||||
using namespace std;
|
||||
|
||||
typedef vector< vector< keypointslist > > asift_keypoints;
|
||||
|
||||
|
@ -91,4 +82,4 @@ protected:
|
|||
//Flags
|
||||
bool _resize_imgs;// = false; //Resize images to IM_X/IM_Y ?
|
||||
bool _showDebug;// = 0; //Show debugging messages ?
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue