WIP on new init
Rework seems done, but man are there bugs
This commit is contained in:
+5
-5
@@ -27,18 +27,18 @@ public:
|
||||
DescriptorManager(const fs::path & image_path);
|
||||
~DescriptorManager();
|
||||
void Init();
|
||||
bool loadDescriptors();
|
||||
bool createMutations();
|
||||
void similarImages(string image_name, int method, int numImages);
|
||||
void insertMutations(string image_name, int method);
|
||||
void checkImages(int method);
|
||||
void rankImages(string image_name, int method);
|
||||
void rankMutations(string image_name, int method);
|
||||
void outputMap(int a);
|
||||
void outputMap();
|
||||
void DescriptorManager::outputRank(string imagename, int method);
|
||||
private:
|
||||
static const int numDescriptors = 8;
|
||||
static const int numMutations = 7;
|
||||
//TODO: automagically update this?
|
||||
|
||||
bool initialized = false;
|
||||
|
||||
map<string, bitset<64>> features[numDescriptors]; //array of maps that will hold the descriptors
|
||||
map<string, bitset<64>> mutatedFeatures[numDescriptors][numMutations];
|
||||
multiset<pair<unsigned long long, string> > distances; //multiset that stores the distances
|
||||
|
||||
Reference in New Issue
Block a user