1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #27470 from asmorkalov:as/phaseCorrelate_docs

phaseCorrelate documentation improvement
This commit is contained in:
Alexander Smorkalov
2025-06-23 16:51:59 +03:00
committed by GitHub
+3 -3
View File
@@ -2992,9 +2992,9 @@ Calculates the cross-power spectrum of two supplied source arrays. The arrays ar
with getOptimalDFTSize.
The function performs the following equations:
- First it applies a Hanning window (see <https://en.wikipedia.org/wiki/Hann_function>) to each
image to remove possible edge effects. This window is cached until the array size changes to speed
up processing time.
- First it applies a Hanning window to each image to remove possible edge effects, if it's provided
by user. See @ref createHanningWindow and <https://en.wikipedia.org/wiki/Hann_function>. This window may
be cached until the array size changes to speed up processing time.
- Next it computes the forward DFTs of each source array:
\f[\mathbf{G}_a = \mathcal{F}\{src_1\}, \; \mathbf{G}_b = \mathcal{F}\{src_2\}\f]
where \f$\mathcal{F}\f$ is the forward DFT.