summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/point_extractor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_pt/point_extractor.h')
-rw-r--r--ftnoir_tracker_pt/point_extractor.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/ftnoir_tracker_pt/point_extractor.h b/ftnoir_tracker_pt/point_extractor.h
index 21d548af..3ef82900 100644
--- a/ftnoir_tracker_pt/point_extractor.h
+++ b/ftnoir_tracker_pt/point_extractor.h
@@ -15,21 +15,21 @@
// Extracts points from an opencv image
class PointExtractor
{
-public:
- // extracts points from frame and draws some processing info into frame, if draw_output is set
- // dt: time since last call in seconds
- // WARNING: returned reference is valid as long as object
- const std::vector<cv::Vec2f>& extract_points(cv::Mat &frame);
- const std::vector<cv::Vec2f>& get_points() { return points; }
- PointExtractor();
+public:
+ // extracts points from frame and draws some processing info into frame, if draw_output is set
+ // dt: time since last call in seconds
+ // WARNING: returned reference is valid as long as object
+ const std::vector<cv::Vec2f>& extract_points(cv::Mat &frame);
+ const std::vector<cv::Vec2f>& get_points() { return points; }
+ PointExtractor();
- int threshold_val;
- int threshold_secondary_val;
- int min_size, max_size;
+ int threshold_val;
+ int threshold_secondary_val;
+ int min_size, max_size;
-protected:
- std::vector<cv::Vec2f> points;
- cv::Mat frame_last;
+private:
+ std::vector<cv::Vec2f> points;
+ cv::Mat frame_last;
};
#endif //POINTEXTRACTOR_H