correct small typo
This commit is contained in:
3
main.cpp
3
main.cpp
@ -317,7 +317,7 @@ void fillMissing(cv::Mat& mat)
|
|||||||
col[x] = mat.at<float>(x,y-1);
|
col[x] = mat.at<float>(x,y-1);
|
||||||
else if(y < mat.rows && mat.at<float>(x,y+1) >= 0)
|
else if(y < mat.rows && mat.at<float>(x,y+1) >= 0)
|
||||||
col[x] = mat.at<float>(x,y+1);
|
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;
|
col[x] = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -497,4 +497,3 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user