summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/cv-point-extractor.h
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-14 10:05:23 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commit51436cc320670e033c69bc01d2178bd245234670 (patch)
tree1468e1fb6017166a95ca7ec17d81980cc2b51c05 /tracker-easy/cv-point-extractor.h
parent984f1c719a6636ec5e155a218bd69fec7da8b71c (diff)
Kinect: IR camera now provides raw 16 bits buffer.
Easy Tracker: Support for 16 bits and RGB frame buffers.
Diffstat (limited to 'tracker-easy/cv-point-extractor.h')
-rw-r--r--tracker-easy/cv-point-extractor.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tracker-easy/cv-point-extractor.h b/tracker-easy/cv-point-extractor.h
index 18229d4a..677be292 100644
--- a/tracker-easy/cv-point-extractor.h
+++ b/tracker-easy/cv-point-extractor.h
@@ -27,10 +27,14 @@ namespace EasyTracker
public:
// extracts points from frame and draws some processing info into frame, if draw_output is set
// dt: time since last call in seconds
- void extract_points(const cv::Mat& frame, cv::Mat* aPreview, std::vector<vec2>& aPoints) override;
+ void extract_points(const cv::Mat& aFrame, cv::Mat* aPreview, std::vector<vec2>& aPoints) override;
CvPointExtractor();
-
+ // Settings
pt_settings s;
+ // Our frame with a channel size of 8 bits
+ cv::Mat iFrameChannelSizeOne;
+ // Our frame with a single 8 bits channel
+ cv::Mat iFrameGray;
};
}