mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
f704001eb7
Test: Add regression test for LINE_4 vs LINE_8 connectivity #28120 Add test to verify correct behavior of LINE_4 (4-connected) and LINE_8 (8-connected) line drawing. This test ensures: - LINE_4 produces staircase pattern (more pixels) for diagonal lines - LINE_8 produces diagonal steps (fewer pixels) - LINE_4 pixels have only horizontal/vertical neighbors (no diagonal-only) Regression test for issue #26413 where LINE_4 and LINE_8 behaviors were swapped.