added docs for absSum function

pull/13383/head
Alexey Spizhevoy 14 years ago
parent 79d8d50cbe
commit 047be13c1c
  1. 16
      doc/gpu_matrix_reductions.tex

@ -41,20 +41,32 @@ Returns sum of matrix elements.
Scalar sum(const GpuMat\& src, GpuMat\& buf);}
\begin{description}
\cvarg{src}{Source image of any depth except \texttt{CV\_64F}, single-channel.}
\cvarg{src}{Source image of any depth except \texttt{CV\_64F}.}
\cvarg{buf}{Optional buffer to avoid extra memory allocations. It's resized automatically.}
\end{description}
See also: \cvCppCross{sum}.
\cvCppFunc{gpu::absSum}
Returns sum of matrix elements absolute values.
\cvdefCpp{Scalar absSum(const GpuMat\& src);\newline
Scalar absSum(const GpuMat\& src, GpuMat\& buf);}
\begin{description}
\cvarg{src}{Source image of any depth except \texttt{CV\_64F}.}
\cvarg{buf}{Optional buffer to avoid extra memory allocations. It's resized automatically.}
\end{description}
\cvCppFunc{gpu::sqrSum}
Returns squared sum of matrix elements.
\cvdefCpp{Scalar sqrSum(const GpuMat\& src);\newline
Scalar sqrSum(const GpuMat\& src, GpuMat\& buf);}
\begin{description}
\cvarg{src}{Source image of any depth except \texttt{CV\_64F}, single-channel.}
\cvarg{src}{Source image of any depth except \texttt{CV\_64F}.}
\cvarg{buf}{Optional buffer to avoid extra memory allocations. It's resized automatically.}
\end{description}

Loading…
Cancel
Save