From edb608d206f33868f207e075773e3bf1646b5534 Mon Sep 17 00:00:00 2001 From: StevenPuttemans Date: Wed, 10 Dec 2014 13:41:22 +0100 Subject: [PATCH] fix documentation bug 2432 --- modules/core/doc/operations_on_arrays.rst | 2 +- modules/core/include/opencv2/core.hpp | 2 +- modules/cudaarithm/doc/arithm.rst | 2 +- modules/cudaarithm/include/opencv2/cudaarithm.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/core/doc/operations_on_arrays.rst b/modules/core/doc/operations_on_arrays.rst index bda910996..d2f4ab1f1 100644 --- a/modules/core/doc/operations_on_arrays.rst +++ b/modules/core/doc/operations_on_arrays.rst @@ -1902,7 +1902,7 @@ Performs the per-element multiplication of two Fourier spectrums. :param dst: output array of the same size and type as ``src1`` . - :param flags: operation flags; currently, the only supported flag is ``DFT_ROWS``, which indicates that each row of ``src1`` and ``src2`` is an independent 1D Fourier spectrum. + :param flags: operation flags; currently, the only supported flag is ``DFT_ROWS``, which indicates that each row of ``src1`` and ``src2`` is an independent 1D Fourier spectrum. If you do not want to use this flag, then simply add a `0` as value. :param conjB: optional flag that conjugates the second input array before the multiplication (true) or not (false). diff --git a/modules/core/include/opencv2/core.hpp b/modules/core/include/opencv2/core.hpp index a9011d0b3..76fb3fd52 100644 --- a/modules/core/include/opencv2/core.hpp +++ b/modules/core/include/opencv2/core.hpp @@ -1952,7 +1952,7 @@ arrays are real, they are assumed to be CCS-packed (see dft for details). @param b second input array of the same size and type as src1 . @param c output array of the same size and type as src1 . @param flags operation flags; currently, the only supported flag is cv::DFT_ROWS, which indicates that -each row of src1 and src2 is an independent 1D Fourier spectrum. +each row of src1 and src2 is an independent 1D Fourier spectrum. If you do not want to use this flag, then simply add a `0` as value. @param conjB optional flag that conjugates the second input array before the multiplication (true) or not (false). */ diff --git a/modules/cudaarithm/doc/arithm.rst b/modules/cudaarithm/doc/arithm.rst index b02c005ac..e4e5fc96f 100644 --- a/modules/cudaarithm/doc/arithm.rst +++ b/modules/cudaarithm/doc/arithm.rst @@ -55,7 +55,7 @@ Performs a per-element multiplication of two Fourier spectrums. :param dst: Destination spectrum. - :param flags: Mock parameter used for CPU/CUDA interfaces similarity. + :param flags: Mock parameter used for CPU/CUDA interfaces similarity, simply add a `0` value. :param conjB: Optional flag to specify if the second spectrum needs to be conjugated before the multiplication. diff --git a/modules/cudaarithm/include/opencv2/cudaarithm.hpp b/modules/cudaarithm/include/opencv2/cudaarithm.hpp index 8f3d352ba..98ebfbef8 100644 --- a/modules/cudaarithm/include/opencv2/cudaarithm.hpp +++ b/modules/cudaarithm/include/opencv2/cudaarithm.hpp @@ -892,7 +892,7 @@ CV_EXPORTS void mulSpectrums(InputArray src1, InputArray src2, OutputArray dst, @param src1 First spectrum. @param src2 Second spectrum with the same size and type as a . @param dst Destination spectrum. -@param flags Mock parameter used for CPU/CUDA interfaces similarity. +@param flags Mock parameter used for CPU/CUDA interfaces similarity, simply add a `0` value. @param scale Scale constant. @param conjB Optional flag to specify if the second spectrum needs to be conjugated before the multiplication.