summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-12-21 13:43:33 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-12-21 13:43:33 +0100
commitba57512f6f628809666c7641f0007ce84afee0e9 (patch)
treec1b626d9063795115c2d09304da45fc5f6cefe26
parent69d8530082b8d43fd62e02d83843bb8e4e6fb738 (diff)
pt: hyst frame output need show points only in blue
-rw-r--r--ftnoir_tracker_pt/point_extractor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_pt/point_extractor.cpp b/ftnoir_tracker_pt/point_extractor.cpp
index bc0593b1..94096f9d 100644
--- a/ftnoir_tracker_pt/point_extractor.cpp
+++ b/ftnoir_tracker_pt/point_extractor.cpp
@@ -156,8 +156,8 @@ std::vector<Vec2f> PointExtractor::extract_points(Mat& frame)
frame_bin_copy.setTo(120, frame_bin_copy);
//frame_bin_low.setTo(90, frame_bin_low);
channels.push_back(frame_gray + frame_bin_copy);
- channels.push_back(frame_gray);
- channels.push_back(frame_gray);
+ channels.push_back(frame_gray - frame_bin_copy);
+ channels.push_back(frame_gray - frame_bin_copy);
//channels.push_back(frame_gray + frame_bin);
}
merge(channels, frame);