mirror of
https://github.com/opencv/opencv.git
synced 2026-11-16 06:17:53 -06:00
N-D Mats (e.g. NHWC batches from Python) were silently processed as a garbage 2D image by remap() and warpPerspective(). Check src dims up front and raise a descriptive error instead. Fixes #29589