Files
opencv-MIRROR/modules
CheesyWannabe 8bc29c85a6 features: fix cv::XFeat letterbox inverse mapping
XFeat letterboxes through blobFromImageWithParams(DNN_PMODE_LETTERBOX)
but re-derived the resized size with cvRound, while dnn truncates. When
the resized size had a fractional part >= 0.5, the pad offset was one
network pixel off. It also divided by the nominal factor instead of the
real per-axis ratio. Mirror dnn's truncation and map back with the exact
per-axis inverse, and add a regression test with a non-integral
letterbox (1000x901 into 640x640).

Fixes #30548
2026-10-27 17:16:46 +08:00
..
2026-07-09 12:17:24 +03:00
2026-10-23 14:28:38 +03:00
2026-08-19 17:38:39 +02:00