From d27d091e59c1a9143dd01caf3f7c644807610c0b Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Mon, 1 Apr 2013 11:53:05 +0400 Subject: [PATCH] fixed mind/maxd search in CvFuzzyMeanShiftTracker::SearchWindow::initDepthValues --- modules/contrib/src/fuzzymeanshifttracker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/contrib/src/fuzzymeanshifttracker.cpp b/modules/contrib/src/fuzzymeanshifttracker.cpp index 443b961ed1..c83f915b03 100644 --- a/modules/contrib/src/fuzzymeanshifttracker.cpp +++ b/modules/contrib/src/fuzzymeanshifttracker.cpp @@ -380,6 +380,7 @@ void CvFuzzyMeanShiftTracker::SearchWindow::initDepthValues(IplImage *maskImage, { if (*depthData) { + d = *depthData; m1 += d; if (d < mind) mind = d;