Ghazi-raad
a27a13921b
Fix LINE_4/LINE_8 swap in drawContours (issue #26413 )
...
Changed condition to correctly route LINE_8 to Line() instead of Line2().
The condition 'line_type == 1 || line_type == 4' was causing LINE_8 (value 8)
to be processed by Line2() which implements 4-connectivity, and LINE_4 (value 4)
to be processed by Line() which was implementing 8-connectivity behavior. This
resulted in swapped line connectivity.
Changed to 'line_type == 1 || line_type == 8' so LINE_8 goes to Line() with
8-connectivity and LINE_4 goes to Line2() with 4-connectivity, matching the
documented behavior where LINE_4 should produce 4-connected lines and LINE_8
should produce 8-connected lines.
Fixes #26413
2025-11-26 21:41:28 +00:00
..
2025-11-12 11:30:14 +03:00
2023-01-16 23:29:50 +03:00
2023-04-26 09:48:15 -04:00
2023-10-06 13:33:21 +03:00
2025-05-21 16:12:09 +03:00
2024-07-09 17:11:23 +03:00
2025-09-08 16:11:20 +03:00
2025-08-12 17:50:44 +03:00
2023-09-14 20:37:46 +03:00
2025-10-06 11:00:30 +03:00
2025-10-06 11:00:30 +03:00
2025-02-15 09:55:37 +03:00
2021-02-27 17:27:24 +00:00
2021-02-27 17:27:24 +00:00
2021-02-27 17:27:24 +00:00
2021-02-27 17:27:24 +00:00
2025-11-16 14:45:50 +03:00
2025-05-12 09:02:47 +03:00
2025-05-21 09:28:29 +03:00
2025-03-13 07:54:41 +00:00
2023-12-21 00:30:44 +03:00
2024-09-03 07:56:37 +03:00
2024-10-25 20:21:33 +03:00
2024-05-25 13:12:03 +03:00
2024-12-26 12:15:46 +00:00
2024-08-09 14:22:02 +03:00
2024-08-09 14:22:02 +03:00
2022-03-01 19:55:00 +03:00
2025-07-29 13:10:01 +03:00
2025-03-12 18:00:01 +03:00
2025-07-24 11:23:21 +03:00
2025-03-12 18:00:01 +03:00
2025-07-24 11:23:21 +03:00
2025-03-12 18:00:01 +03:00
2025-03-12 18:00:01 +03:00
2024-05-30 12:23:15 +03:00
2025-11-21 10:54:38 +03:00
2020-01-10 21:31:02 +03:00
2023-09-14 20:37:46 +03:00
2024-05-17 15:01:05 +03:00
2025-04-25 11:29:22 +03:00
2025-02-15 09:55:37 +03:00
2025-06-11 17:37:18 +03:00
2025-11-26 21:41:28 +00:00
2024-05-14 12:51:26 +03:00
2024-04-24 14:28:31 +03:00
2021-02-15 19:55:57 +00:00
2025-11-20 08:55:03 +03:00
2025-01-28 07:26:40 +03:00
2024-04-09 17:44:36 +03:00
2020-08-17 11:49:11 +00:00
2024-04-09 17:44:36 +03:00
2025-01-27 11:55:10 +01:00
2024-12-17 07:40:27 +03:00
2025-11-12 18:44:41 +03:00
2025-11-08 13:16:01 -06:00
2025-05-21 07:07:22 +03:00
2025-05-21 07:07:57 +03:00
2025-11-12 11:30:14 +03:00
2025-07-08 12:31:40 +02:00
2024-10-14 01:28:41 +08:00
2022-09-10 09:39:43 +03:00
2024-12-17 07:40:27 +03:00
2023-10-06 13:33:21 +03:00
2023-05-30 17:46:39 +03:00
2024-03-05 12:15:39 +03:00
2025-06-24 04:58:54 +02:00
2024-03-05 12:15:39 +03:00
2025-02-15 09:55:37 +03:00
2025-05-19 08:56:57 +03:00
2025-09-23 22:14:12 +03:00
2021-10-21 18:12:51 +03:00
2025-11-13 13:57:41 +08:00
2025-11-20 08:55:03 +03:00
2024-03-05 12:15:39 +03:00
2025-06-20 12:00:37 +03:00
2024-11-25 20:35:20 +03:00
2025-05-21 09:28:29 +03:00
2020-03-29 02:41:50 +00:00
2025-03-13 07:54:41 +00:00
2022-09-10 09:39:43 +03:00
2022-09-10 09:39:43 +03:00
2020-03-29 02:41:50 +00:00
2025-11-25 15:56:59 +03:00
2024-03-05 12:15:39 +03:00
2024-05-17 15:01:05 +03:00
2025-10-16 22:18:39 +03:00
2025-02-15 09:55:37 +03:00
2025-09-22 17:30:28 +03:00
2023-09-14 20:37:46 +03:00
2024-04-30 18:07:21 +08:00
2025-08-15 15:05:27 +03:00
2025-01-31 21:12:36 +05:30
2025-04-21 09:50:13 +03:00
2024-09-13 10:56:48 +03:00
2025-01-02 22:14:08 +03:00
2025-03-12 17:55:07 +03:00
2024-03-05 12:15:39 +03:00