Commit 7de82516 authored by Alexey Spizhevoy's avatar Alexey Spizhevoy

updated gpu module docs

parent 5a524f63
...@@ -204,10 +204,29 @@ void polarToCart(const GpuMat\& magnitude, const GpuMat\& angle,\par ...@@ -204,10 +204,29 @@ void polarToCart(const GpuMat\& magnitude, const GpuMat\& angle,\par
See also: \cvCppCross{polarToCart}. See also: \cvCppCross{polarToCart}.
\section{Per-element Operations.} \section{Per-element Operations.}
\cvCppFunc{add}
Computes matrx-matrix or matrix-scalar sum.
\cvdefCpp{void add(const GpuMat\& a, const GpuMat\& b, GpuMat\& c);}
\begin{description}
\cvarg{a}{First source matrix. 8UC1, 8UC4, 32SC1 and 32FC2 matrixes are supported for now.}
\cvarg{b}{Second source matrix. Must have the same size and type as \texttt{a}.}
\cvarg{c}{Destination matrix. Will have the same size and type as \texttt{a}.}
\end{description}
\cvdefCpp{void add(const GpuMat\& a, const Scalar\& sc, GpuMat\& c);}
\begin{description}
\cvarg{a}{Source matrix. 32SC1 and 32FC2 matrixes are supported for now.}
\cvarg{b}{Source scalar.}
\cvarg{c}{Destination matrix. Will have the same size and type as \texttt{a}.}
\end{description}
See also: \cvCppCross{add}.
\cvfunc{cv::gpu::bitwise\_not}\label{cppfunc.gpu.bitwise.not} \cvfunc{cv::gpu::bitwise\_not}\label{cppfunc.gpu.bitwise.not}
Performs per-element bitwise inversion. Performs per-element bitwise inversion.
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment