correct small typo
This commit is contained in:
parent
cfb70ba379
commit
a5440ed857
3
main.cpp
3
main.cpp
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue