summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-11-07 22:57:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-11-07 22:58:48 +0100
commite72d2694f613344022b1e548e5d5564d11833173 (patch)
tree4dc492f4062754771aa72a2b488ae1f29cfda8be /FTNoIR_Tracker_PT
parent4b3064c63cd9fa112c3700d9e97d6571ff5ad044 (diff)
fix build error on ocv 2.4 branch
Diffstat (limited to 'FTNoIR_Tracker_PT')
-rw-r--r--FTNoIR_Tracker_PT/pt_video_widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/FTNoIR_Tracker_PT/pt_video_widget.cpp b/FTNoIR_Tracker_PT/pt_video_widget.cpp
index 122ab4fd..c73fa780 100644
--- a/FTNoIR_Tracker_PT/pt_video_widget.cpp
+++ b/FTNoIR_Tracker_PT/pt_video_widget.cpp
@@ -51,7 +51,7 @@ void PTVideoWidget::update_and_repaint()
for (int x = 0; x < _frame.cols; x++)
{
const auto& elt = _frame.at<Vec3b>(y, x);
- const CvScalar elt2 = elt;
+ const cv::Scalar elt2 = elt;
data[y * pitch + x * 3 + 0] = elt2.val[2];
data[y * pitch + x * 3 + 1] = elt2.val[1];
data[y * pitch + x * 3 + 2] = elt2.val[0];