mainny ui improcements
This commit is contained in:
parent
50777fe056
commit
86ec50575b
25 changed files with 819 additions and 264 deletions
|
|
@ -22,25 +22,27 @@ class ConfigureCameraDialog : public QDialog
|
|||
std::shared_ptr<Camera> camera_;
|
||||
int mode_ = MODE_IDLE;
|
||||
cv::Mat fgImage;
|
||||
double profileExposure_;
|
||||
|
||||
private:
|
||||
bool checkConfig();
|
||||
void gotImage(Camera::Image img);
|
||||
|
||||
private slots:
|
||||
void loadBg();
|
||||
void loadRemap();
|
||||
void loadDark();
|
||||
void captureBg();
|
||||
void captureRemap();
|
||||
void captureDark();
|
||||
void takeImage();
|
||||
void setExposure(double value);
|
||||
|
||||
public slots:
|
||||
void accept() override;
|
||||
|
||||
public:
|
||||
explicit ConfigureCameraDialog(const CameraSetup& setup, const std::shared_ptr<Camera> camera, double exposureTime = 1.0/60, QWidget *parent = nullptr);
|
||||
~ConfigureCameraDialog();
|
||||
CameraSetup getCameraSetup(){return setup_;}
|
||||
void accept() override;
|
||||
|
||||
|
||||
private:
|
||||
Ui::ConfigureCameraDialog *ui;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue