| 123456789101112131415161718192021222324252627282930313233343536 |
- #ifndef DEPTHGUIDE_IMAGE_PROCESS_UI_IMPL_H
- #define DEPTHGUIDE_IMAGE_PROCESS_UI_IMPL_H
- #include "image_process/image_process_ui.h"
- struct image_process_ui::impl {
- struct ui_config_type {
- bool crude_debayer = true;
- bool enhance = false;
- bool undistort = true;
- };
- std::shared_ptr<ui_config_type> ui_conf =
- std::make_shared<ui_config_type>();
- create_config conf;
- bool is_mono = false;
- obj_conn_type img_cb_conn;
- monocular_processor processor;
- explicit impl(create_config conf);
- ~impl();
- void show();
- void process();
- void change_config(modifiable_config conf);
- };
- #endif //DEPTHGUIDE_IMAGE_PROCESS_UI_IMPL_H
|