correct small typo

This commit is contained in:
2020-10-10 10:28:20 +02:00
parent cfb70ba379
commit a5440ed857

View File

@ -317,7 +317,7 @@ void fillMissing(cv::Mat& mat)
col[x] = mat.at<float>(x,y-1);
else if(y < mat.rows && mat.at<float>(x,y+1) >= 0)
col[x] = mat.at<float>(x,y+1);
if((x+1 < mat.cols && col[x] > col[x+1]) || (x > 0 && col[x] < col[x-1])
if((x+1 < mat.cols && col[x] > col[x+1]) || (x > 0 && col[x] < col[x-1]))
col[x] = -1;
}
}
@ -497,4 +497,3 @@ int main(int argc, char* argv[])
return 0;
}