diff options
author | usrusr <github@spam.ulf-schreiber.de> | 2013-12-10 01:52:43 +0100 |
---|---|---|
committer | usrusr <github@spam.ulf-schreiber.de> | 2013-12-10 02:06:00 +0100 |
commit | 28fcbb913ed0969b22fd07c32c63c2a54568b6c6 (patch) | |
tree | 1bcd1604a90b52c12129bbb87ba33d6006daee85 /FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | |
parent | eb42ffe30d51aa44ac0bebe0d5a04a6a13bbd789 (diff) |
add an optional per-pixel hysteresis to remove pixel noise at the expense of a moderate movement threshold (but no lag)
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r-- | FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp index 5cb7bdf3..dcf28f04 100644 --- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp +++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp @@ -113,6 +113,7 @@ void Tracker::apply(const TrackerSettings& settings) camera.set_f(settings.cam_f);
frame_rotation.rotation = static_cast<RotationType>(settings.cam_roll);
point_extractor.threshold_val = settings.threshold;
+ point_extractor.threshold_secondary_val = settings.threshold_secondary;
point_extractor.min_size = settings.min_point_size;
point_extractor.max_size = settings.max_point_size;
point_tracker.point_model = boost::shared_ptr<PointModel>(new PointModel(settings.M01, settings.M02));
|