\r
\cvdefCpp{void transpose(const GpuMat\& src, GpuMat\& dst);}\r
\begin{description}\r
-\cvarg{src}{Source matrix. Elements sizes 1, 4, 8 bytes are supported for now.}\r
+\cvarg{src}{Source matrix. 1, 4, 8 bytes element sizes are supported for now.}\r
\cvarg{dst}{Destination matrix.}\r
\end{description}\r
\r
\r
See also: \cvCppCross{flip}.\r
\r
+\r
+\cvCppFunc{gpu::LUT}\r
+Transforms source matrix into destination matrix using given look-up table: \texttt{dst(I) = lut(src(I))}.\r
+\r
+\cvdefCpp{void LUT(const GpuMat\& src, const Mat\& lut, GpuMat\& dst);}\r
+\begin{description}\r
+\cvarg{src}{Source matrix. 8UC1 and 8UC3 matrixes are supported for now.}\r
+\cvarg{lut}{Look-up table. Must be continuous, 8U depth matrix. Its area must satisfy to \texttt{lut.rows} $\times$ \texttt{lut.cols} = 256.}\r
+\cvarg{dst}{Destination matrix. Will have the same depth as \texttt{lut} and the same number of channels as \texttt{src}.}\r
+\end{description}\r
+\r
+See also: \cvCppCross{LUT}.\r
+\r
+\r
\cvCppFunc{gpu::merge}\r
Makes multi-channel matrix out of several single-channel matrices.\r
\r
\cvdefCpp{void merge(const GpuMat* src, size\_t n, GpuMat\& dst);\newline\r
void merge(const GpuMat* src, size\_t n, GpuMat\& dst,\par\r
- const Stream\& stream);\newline\newline\r
-void merge(const vector$<$GpuMat$>$\& src, GpuMat\& dst);\newline\r
+ const Stream\& stream);\newline}\r
+\begin{description}\r
+\cvarg{src}{Pointer to array of the source matrices.}\r
+\cvarg{n}{Number of source matrices.}\r
+\cvarg{dst}{Destination matrix.}\r
+\cvarg{stream}{Stream for the asynchronous version.}\r
+\end{description}\r
+\r
+\cvdefCpp{void merge(const vector$<$GpuMat$>$\& src, GpuMat\& dst);\newline\r
void merge(const vector$<$GpuMat$>$\& src, GpuMat\& dst,\par\r
const Stream\& stream);}\r
\begin{description}\r
-\cvarg{src}{Vector or pointer to array of the source matrices.}\r
-\cvarg{n}{Number of source matrices.}\r
+\cvarg{src}{Vector of the source matrices.}\r
\cvarg{dst}{Destination matrix.}\r
-\cvarg{stream}{Stream for the asynchronous versions.}\r
+\cvarg{stream}{Stream for the asynchronous version.}\r
\end{description}\r
\r
See also: \cvCppCross{merge}.\r
Copies each plane of a multi-channel matrix into an array.\r
\r
\cvdefCpp{void split(const GpuMat\& src, GpuMat* dst);\newline\r
-void split(const GpuMat\& src, GpuMat* dst, const Stream\& stream);\newline\newline\r
-void split(const GpuMat\& src, vector$<$GpuMat$>$\& dst);\newline\r
+void split(const GpuMat\& src, GpuMat* dst, const Stream\& stream);}\r
+\begin{description}\r
+\cvarg{src}{Source matrix.}\r
+\cvarg{dst}{Pointer to array of single-channel matrices.}\r
+\cvarg{stream}{Stream for the asynchronous version.}\r
+\end{description}\r
+\r
+\cvdefCpp{void split(const GpuMat\& src, vector$<$GpuMat$>$\& dst);\newline\r
void split(const GpuMat\& src, vector$<$GpuMat$>$\& dst,\par\r
const Stream\& stream);}\r
\begin{description}\r
\cvarg{src}{Source matrix.}\r
-\cvarg{dst}{Destination vector or pointer to array of single-channel matrices.}\r
-\cvarg{stream}{Stream for the asynchronous versions.}\r
+\cvarg{dst}{Destination vector of single-channel matrices.}\r
+\cvarg{stream}{Stream for the asynchronous version.}\r
\end{description}\r
\r
See also: \cvCppCross{split}.\r