29 lines
543 B
C
29 lines
543 B
C
// globals.h
|
|
#ifndef GLOBALS_H
|
|
#define GLOBALS_H
|
|
|
|
#include <MIL.h>
|
|
#include <QMutex>
|
|
#include <opencv2/opencv.hpp>
|
|
|
|
// 图片显示0
|
|
extern QMutex gDispPicMutex0;
|
|
extern MIL_ID gDispCurrentPicId0;
|
|
|
|
// 图片显示1
|
|
extern QMutex gDispPicMutex1;
|
|
extern MIL_ID gDispCurrentPicId1;
|
|
|
|
extern QMutex gMaskMutex0;
|
|
extern MIL_ID gMask0;
|
|
|
|
extern QMutex gMaskMutex1;
|
|
extern MIL_ID gMask1;
|
|
|
|
extern QMutex imgDetectionReady0Mutex;
|
|
extern QMutex imgDetectionReady1Mutex;
|
|
extern bool imgDetectionReady0;
|
|
extern bool imgDetectionReady1;
|
|
|
|
#endif // GLOBALS_H
|