fixed mind/maxd search in CvFuzzyMeanShiftTracker::SearchWindow::initDepthValues
This commit is contained in:
parent
43f38df1d2
commit
d27d091e59
@ -380,6 +380,7 @@ void CvFuzzyMeanShiftTracker::SearchWindow::initDepthValues(IplImage *maskImage,
|
|||||||
{
|
{
|
||||||
if (*depthData)
|
if (*depthData)
|
||||||
{
|
{
|
||||||
|
d = *depthData;
|
||||||
m1 += d;
|
m1 += d;
|
||||||
if (d < mind)
|
if (d < mind)
|
||||||
mind = d;
|
mind = d;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user