mirror of
https://github.com/opencv/opencv.git
synced 2026-12-02 13:16:32 -06:00
geometry: respect row stride in triangulatePoints The fix uses step1(0) to advance between points in a two-channel column matrix, while keeping the existing two-scalar step for row matrices. I applied this separately to both camera inputs and used size_t for the scalar offsets. The triangulation algorithm itself is unchanged, and packed-column behavior from #28829 is preserved. I also added a regression test covering float and double inputs, including contiguous columns, cloned ROIs, row layouts, and non-contiguous column ROIs on the left camera, right camera, or both.