We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f149f26 commit b9f0ffdCopy full SHA for b9f0ffd
modules/ximgproc/src/brightedges.cpp
@@ -150,7 +150,7 @@ namespace cv
150
iedge.ptr(row + 1)[col + 2] +
151
iedge.ptr(row - 1)[col + 2];
152
if (line < weight) lines += 1;
153
- if (line == 1) return 0;
+ if (lines == 1) return 0;
154
// Compute surrounding pixels for dark zone
155
int surround = iedge.ptr(row - 1)[col - 1] +
156
iedge.ptr(row - 1)[col] +
0 commit comments