Files
opencv-MIRROR/modules/features/test
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-06-05 21:13:24 +05:30
2026-07-28 20:27:29 +05:30
2026-07-09 12:17:24 +03:00
2026-07-09 12:17:24 +03:00