summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/preview.h
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-15 00:04:19 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commit14a403d0928bb8ef600017294cafc8b15b1540e7 (patch)
tree4ad9da37b3af6f86d3ab97d227129f2ca8a2ed7d /tracker-easy/preview.h
parent5ebbcda77e2ad01932be9573a63242f4164fdbb8 (diff)
Easy Tracker: Minor changes to preview.
Diffstat (limited to 'tracker-easy/preview.h')
-rw-r--r--tracker-easy/preview.h10
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;
+
};
}