-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemoMain.h
More file actions
33 lines (33 loc) · 780 Bytes
/
demoMain.h
File metadata and controls
33 lines (33 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Created by pvobile on 17-4-27.
//
#pragma once
#include<opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
#include "HistoGram/HistoGram.h"
#include "ImgMatchPreFilter/ImgMatchPreFilter.h"
#include "ContentFinder/ContentFinder.h"
static vector<string> choices = {
"0 : Image filter:",
"1 : Image traversal:",
"2 : Image Histogram:",
"3 : Content Finder:",
"4 : Image compare hist:"
};
using namespace std;
class DemoMain
{
private:
int choice;
private:
void showAllModule();
void filter();
void traversalTest(int cs = 0);
void histoTest(int cs = 0);
void contentFinder(int cs = 0);
void imageComparebyHist();
public:
void run();
};