Files
opencv-MIRROR/modules
Abhishek Gola 4075f24217 Merge pull request #31179 from sshivensolanki/dnn-resize-tfcrop-edge
Problem
Bilinear Resize2 in tf_crop_and_resize mode treated a sample that lands exactly on the last input pixel as out of bounds, so the last output row and column got extrapolation_value whenever the crop box reached the input edge.

Fix
Check the sample position src against [0, inLen - 1] instead of checking floor(src) >= inLen - 1, and cap the second neighbour i1 at inLen - 1 so the last pixel never reads past the row.
2026-11-27 12:53:47 +05:30
..