image_process_ui_impl.h 701 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef DEPTHGUIDE_IMAGE_PROCESS_UI_IMPL_H
  2. #define DEPTHGUIDE_IMAGE_PROCESS_UI_IMPL_H
  3. #include "image_process/image_process_ui.h"
  4. struct image_process_ui::impl {
  5. struct ui_config_type {
  6. bool crude_debayer = true;
  7. bool enhance = false;
  8. bool undistort = true;
  9. };
  10. std::shared_ptr<ui_config_type> ui_conf =
  11. std::make_shared<ui_config_type>();
  12. create_config conf;
  13. bool is_mono = false;
  14. obj_conn_type img_cb_conn;
  15. monocular_processor processor;
  16. explicit impl(create_config conf);
  17. ~impl();
  18. void show();
  19. void process();
  20. void change_config(modifiable_config conf);
  21. };
  22. #endif //DEPTHGUIDE_IMAGE_PROCESS_UI_IMPL_H