Files
opencv-MIRROR/modules/core/src
Alexander Smorkalov 64bbaa9f41 Merge pull request #27972 from asmorkalov:as/dst_mat_type
Force empty output type where it's defined in API #27972

The PR replaces:
- https://github.com/opencv/opencv/pull/27936
- https://github.com/opencv/opencv/pull/21059

Empty matrix has undefined type, so user code should not relay on the output type, if it's empty. The PR introduces some exceptions:
- copyTo documentation defines, that the method re-create output buffer and set it's type.
- convertTo has output type as parameter and output type is defined and expected.
2025-11-10 08:00:17 +03:00
..
2025-06-26 14:45:19 +02:00
2024-03-05 12:15:39 +03:00
2024-03-05 12:15:39 +03:00
2018-09-07 20:33:52 +09:00
2021-03-02 23:24:28 +00:00
2019-03-05 14:47:04 +03:00
2022-03-03 07:21:53 +09:00
2019-12-27 12:46:53 +00:00
2024-03-05 12:15:39 +03:00
2024-03-05 12:15:39 +03:00
2025-10-16 21:19:12 +09:00
2024-03-05 12:15:39 +03:00
2025-01-13 16:34:28 +01:00
2025-06-02 10:13:49 +02:00
2025-03-24 09:21:22 +03:00
2025-03-24 09:21:22 +03:00
2024-10-11 02:18:14 +02:00
2025-01-13 16:34:28 +01:00
2021-03-02 23:24:28 +00:00
2018-02-12 14:14:08 +03:00
2018-08-27 14:42:18 +03:00
2014-08-15 12:09:16 +04:00
2024-03-05 12:15:39 +03:00