Adds mutations
This commit is contained in:
+7
-1
@@ -11,6 +11,7 @@
|
||||
#include <Magick++.h>
|
||||
#include <string>
|
||||
#include "Descriptor.h"
|
||||
#include "Mutation.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Magick;
|
||||
@@ -26,13 +27,18 @@ public:
|
||||
DescriptorManager(const fs::path & image_path);
|
||||
~DescriptorManager();
|
||||
bool loadDescriptors();
|
||||
bool createMutations();
|
||||
void similarImages(string image_name, int method, int numImages);
|
||||
void outputMap(int a);
|
||||
void outputMap();
|
||||
private:
|
||||
static const int numDescriptors = 8; //TODO: automagically update this?
|
||||
static const int numDescriptors = 8;
|
||||
static const int numMutations = 1;
|
||||
//TODO: automagically update this?
|
||||
|
||||
map<string, bitset<64>> descriptors[numDescriptors]; //array of maps that will hold the descriptors
|
||||
fs::path img_path; //where the images are
|
||||
Descriptor* descriptor_types[numDescriptors];
|
||||
Mutation* mutators[numMutations];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user