Files
opencv-MIRROR/modules/core/include/opencv2
Kazi Sufiyan 012c5c6da2 core: fix output size in convolveDFT sample of dft() docs
The sample allocated C as (|A.rows - B.rows| + 1) x (|A.cols - B.cols| + 1) and copied the top-left corner of the inverse DFT into it. That is neither the full nor the valid convolution. Allocate C with the full convolution size (A.rows + B.rows - 1) x (A.cols + B.cols - 1), which matches the DFT size used below.

Fixes #4558
2026-11-17 07:45:37 +00:00
..