-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEdge.h
More file actions
37 lines (34 loc) · 745 Bytes
/
Copy pathEdge.h
File metadata and controls
37 lines (34 loc) · 745 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
34
35
36
#pragma once
#include <vector>
#include "opencv2/highgui/highgui.hpp"
#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "opencv\cv.h"
using namespace std;
class Edge
{
public:
Edge(void);
int getStartEdgeRow();
int getStartEdgeColumn();
int getEndEdgeRow();
int getEndEdgeColumn();
void setStartEdgeRow(int row);
void setStartEdgeColumn(int column);
void setLength(int length);
int getLength();
int getEdgeSumCanny();
int getEdgeSumOriginal();
void compute();
virtual ~Edge(void);
private:
int startEdgeRow;
int startEdgeColumn;
int endEdgeRow;
int endEdgeColumn;
int length;
int edgeSumCanny;
int edgeSumOriginal;
vector<int> edgeVectorCanny;
vector<int> edgeVectorOriginal;
};