summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xtracker-pt/point_extractor.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp
index 19d8111f..25b825fd 100755
--- a/tracker-pt/point_extractor.cpp
+++ b/tracker-pt/point_extractor.cpp
@@ -70,8 +70,6 @@ void PointExtractor::gray_square_diff(const cv::Mat &frame, cv::Mat &frame_gray)
frame_gray_tmp -= float_absdiff_channel.mul(float_absdiff_channel, scale);
}
- frame_gray_tmp = cv::max(0., frame_gray_tmp);
-
frame_gray_tmp.convertTo(frame_gray, CV_8UC1);
#ifdef DEBUG_SUM_OF_SQUARES