@@ -646,7 +646,7 @@ void LineFinder::GetLineMasks(int resolution, Image src_pix, Image *pix_vline, I
646646 pixSeedfillBinary (*pix_non_vline, *pix_non_vline, pix_nonlines, 8 );
647647 if (!h_empty) {
648648 // Candidate hlines are not vlines.
649- pixOr ( *pix_non_vline, *pix_non_vline, *pix_hline) ;
649+ *pix_non_vline |= *pix_hline;
650650 pixSubtract (*pix_non_vline, *pix_non_vline, *pix_intersections);
651651 }
652652 if (!FilterFalsePositives (resolution, *pix_non_vline, *pix_intersections, *pix_vline)) {
@@ -670,7 +670,7 @@ void LineFinder::GetLineMasks(int resolution, Image src_pix, Image *pix_vline, I
670670 *pix_non_hline = pixErodeBrick (nullptr , pix_nonlines, 1 , kMaxLineResidue );
671671 pixSeedfillBinary (*pix_non_hline, *pix_non_hline, pix_nonlines, 8 );
672672 if (extra_non_hlines != nullptr ) {
673- pixOr ( *pix_non_hline, *pix_non_hline, extra_non_hlines) ;
673+ *pix_non_hline |= extra_non_hlines;
674674 extra_non_hlines.destroy ();
675675 }
676676 if (!FilterFalsePositives (resolution, *pix_non_hline, *pix_intersections, *pix_hline)) {
0 commit comments