ImageD  v2_7_5 (24.06.22)
ImageD is an image processing software designed for rapid prototyping and implementing algorithms and solutions for science, research and teaching.
d_featureset.h
Go to the documentation of this file.
1 /************************************
2  * added: 08.12.2020 *
3  * author: David Eilenstein *
4  * contact: D.Eilenstein@gsi.de *
5  * project: ImageD *
6  * facility: GSI Darmstadt, Ger *
7  ************************************/
8 
9 #ifndef D_FEATURESET_H
10 #define D_FEATURESET_H
11 
12 //own
13 #include <d_enum.h>
14 #include <d_stat.h>
15 #include <d_math.h>
16 
17 //general
18 #include <iostream>
19 #include <vector>
20 
21 //Qt
22 #include <QString>
23 #include <QDebug>
24 
25 //openCV
26 #include <opencv2/core/core.hpp>
27 #include <opencv2/highgui/highgui.hpp>
28 #include <opencv2/imgproc/imgproc.hpp>
29 #include "opencv2/stitching.hpp"
30 
31 //namespaces
32 using namespace std;
33 //using namespace cv; (prohibited because of abigous names with qtdatavisualization)
34 #include <d_opencv_typedefs.h>
35 
37 {
38 public:
39  D_FeatureSet();
40 
41  int detect_Harris(Mat *pMA_In, int blockSize, int sobelAperture, double harrisParam, double thres);
42  int detect_ShiTomasi(Mat *pMA_In, int maxCorners, double qualityLevel, double minDist, int blockSize, int sobelAperture, double harrisParam, double thres);
43 
44 
45 private:
46  bool state_size_set = false;
47  bool state_points_set = false;
48  bool state_descriptors_set = false;
49 
50  int img_width = 1;
51  int img_heigts = 1;
52  vector<Point> vPoints;
53 
54 };
55 
56 #endif // D_FEATURESET_H
Mat
cv::Mat Mat
Definition: d_opencv_typedefs.h:28
ER_okay
@ ER_okay
Definition: d_enum.h:133
d_math.h
d_featureset.h
D_FeatureSet
Definition: d_featureset.h:37
Point
cv::Point Point
Definition: d_opencv_typedefs.h:35
ER_bitdepth_bad
@ ER_bitdepth_bad
Definition: d_enum.h:138
D_FeatureSet::detect_Harris
int detect_Harris(Mat *pMA_In, int blockSize, int sobelAperture, double harrisParam, double thres)
D_FeatureSet::detect_Harris Uses cornerHarris to detect keypoints.
Definition: d_featureset.cpp:25
ER_channel_bad
@ ER_channel_bad
Definition: d_enum.h:144
D_FeatureSet::detect_ShiTomasi
int detect_ShiTomasi(Mat *pMA_In, int maxCorners, double qualityLevel, double minDist, int blockSize, int sobelAperture, double harrisParam, double thres)
Definition: d_featureset.cpp:60
D_FeatureSet::D_FeatureSet
D_FeatureSet()
Definition: d_featureset.cpp:11
d_opencv_typedefs.h
d_enum.h
ER_parameter_bad
@ ER_parameter_bad
Definition: d_enum.h:142
BORDER_DEFAULT
const int BORDER_DEFAULT
Definition: d_opencv_typedefs.h:78
d_stat.h
ER_empty
@ ER_empty
Definition: d_enum.h:135