diff options
| author | Stéphane Lenclud <github@lenclud.com> | 2019-04-15 00:04:19 +0200 |
|---|---|---|
| committer | Stéphane Lenclud <github@lenclud.com> | 2019-04-15 00:04:19 +0200 |
| commit | 7190b9a2a4915ddcec6db6a8a25742d1bb7e56c2 (patch) | |
| tree | f683f0fc54fbf2ea42c890873dd337049b147177 /tracker-easy/preview.h | |
| parent | a7261a99cf96f8b0c64cc9eea63057562ce89baa (diff) | |
Easy Tracker: Minor changes to preview.
Diffstat (limited to 'tracker-easy/preview.h')
| -rw-r--r-- | tracker-easy/preview.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tracker-easy/preview.h b/tracker-easy/preview.h index 03de6684..785d76d4 100644 --- a/tracker-easy/preview.h +++ b/tracker-easy/preview.h @@ -32,9 +32,15 @@ namespace EasyTracker static void ensure_size(cv::Mat& frame, int w, int h, int type); public: - cv::Mat iFrameResized, frame_out; - cv::Mat iFrameRgb; + // Frame with an 8 bits channel size cv::Mat iFrameChannelSizeOne; + // Frame with three channels for RGB + cv::Mat iFrameRgb; + // Frame rezised to widget dimension + cv::Mat iFrameResized; + // Frame ready to be packed in a QImage for use in our widget + cv::Mat iFrameWidget; + }; } |
