Files
opencv-MIRROR/modules
Abhishek Gola fb6166e54b Merge pull request #31044 from harshil-sri/fix-0d-threshold-lut
core, imgproc: support 0D Mat in LUT and threshold

Give a 0D input a 1x1 header before the row-based code runs, the same way #30704 normalizes 1D inputs in gemm:

threshold / thresholdWithMask: src (and mask) are viewed as 1x1, so the output is 1x1, the same as the other imgproc functions return for 0D input.
LUT: src and dst get 1x1 headers for the HAL and parallel paths. dst is created with createSameSize, so the result itself stays 0D.
2026-11-23 09:27:52 +05:30
..
2026-07-09 12:17:24 +03:00