-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
23 lines (21 loc) · 823 Bytes
/
Copy pathmain.cpp
File metadata and controls
23 lines (21 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "colorHistVector.h"
#include "util.h"
using namespace std;
using namespace cv;
int main(int argc, char** argv) {
util::check_cv_version();
// Step 1: compress library images to 100*100.
// util::batchCompressImages();
// Step 2: try to get the color histogram of each library image.
//util::colorHistVectorTester();
// Step 3: batch processing color histogram vector for library images.
//util::batch_compute_colorHistVector();
// Step 4: For each input image, do segmentation and merge for small chunks.
//util::imgSegmentationTester();
// Step 5: For each chunk in the input image, find the closest matching image in library.
//util::mosaicGeneratorTester();
//util::pcaTester();
util::pcaMosaicGeneratorTester();
//util::hsvHistTester();
return 0;
}