Skip to content

Commit

Permalink
Update thinning.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
sturkmen72 authored Oct 2, 2024
1 parent 88fdb86 commit b338f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ximgproc/src/thinning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static void thinningIteration(Mat &img, Mat &marker, const uint8_t* const lut) {

int neighbors = p9 | (p2 << 1) | (p3 << 2) | (p4 << 3) | (p5 << 4) | (p6 << 5) | (p7 << 6) | (p8 << 7);
value = lut[neighbors];
}
}
});

img &= marker;
Expand Down

0 comments on commit b338f6c

Please sign in to comment.