Skip to content

Commit af2b770

Browse files
committed
Merge pull request #21794 from yash112-lang:3.4
2 parents 56f21c4 + 4e8c507 commit af2b770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/imgproc/src/connectedcomponents.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4339,8 +4339,8 @@ namespace cv{
43394339
// without going outside the image limits.
43404340
#define condition_b c-1>=0 && r-2>=0 && img_row_prev_prev[c-1]>0
43414341
#define condition_c r-2>=0 && img_row_prev_prev[c]>0
4342-
#define condition_d c+1<w&& r-2>=0 && img_row_prev_prev[c+1]>0
4343-
#define condition_e c+2<w && r-1>=0 && img_row_prev[c-1]>0
4342+
#define condition_d c+1<w && r-2>=0 && img_row_prev_prev[c+1]>0
4343+
#define condition_e c+2<w && r-2>=0 && img_row_prev_prev[c+2]>0
43444344

43454345
#define condition_g c-2>=0 && r-1>=0 && img_row_prev[c-2]>0
43464346
#define condition_h c-1>=0 && r-1>=0 && img_row_prev[c-1]>0

0 commit comments

Comments
 (0)