Commit d27d091e authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed mind/maxd search in CvFuzzyMeanShiftTracker::SearchWindow::initDepthValues

parent 43f38df1
......@@ -380,6 +380,7 @@ void CvFuzzyMeanShiftTracker::SearchWindow::initDepthValues(IplImage *maskImage,
{
if (*depthData)
{
d = *depthData;
m1 += d;
if (d < mind)
mind = d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment