forked from githubdoe/DFTFringe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcamcalibrationreviewdlg.h
More file actions
39 lines (30 loc) · 906 Bytes
/
Copy pathcamcalibrationreviewdlg.h
File metadata and controls
39 lines (30 loc) · 906 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
37
38
39
#ifndef CAMCALIBRATIONREVIEWDLG_H
#define CAMCALIBRATIONREVIEWDLG_H
#include <QDialog>
#include <vector>
#include <opencv/cv.h>
namespace Ui {
class CamCalibrationReviewDlg;
}
class CamCalibrationReviewDlg : public QDialog
{
Q_OBJECT
public:
explicit CamCalibrationReviewDlg( std::vector<cv::Mat> images, std::vector<cv::Mat> keypoints, std::vector<cv::Mat> corrected,QWidget *parent = 0);
~CamCalibrationReviewDlg();
virtual void resizeEvent( QResizeEvent * );
private slots:
void on_verticalScrollBar_valueChanged(int value);
void on_Overlay_pressed();
void on_Overlay_released();
private:
int m_ndx;
std::vector<cv::Mat> m_images;
std::vector<cv::Mat> m_keypoints;
std::vector<cv::Mat> m_corrected;
Ui::CamCalibrationReviewDlg *ui;
bool m_overlay;
int m_viewType;
void showImage(int ndx);
};
#endif // CAMCALIBRATIONREVIEWDLG_H