Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
1697a899
Commit
1697a899
authored
Jan 17, 2011
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finished gpu module docs for matrix operations
parent
dd5182ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
12 deletions
+39
-12
gpu_data_structures.tex
doc/gpu_data_structures.tex
+2
-1
gpu_matrix_operations.tex
doc/gpu_matrix_operations.tex
+36
-10
gpu_object_detection.tex
doc/gpu_object_detection.tex
+1
-1
No files found.
doc/gpu_data_structures.tex
View file @
1697a899
...
@@ -9,5 +9,5 @@ Creates continuous matrix in GPU memory.
...
@@ -9,5 +9,5 @@ Creates continuous matrix in GPU memory.
\cvarg
{
rows
}{
Row count.
}
\cvarg
{
rows
}{
Row count.
}
\cvarg
{
cols
}{
Column count.
}
\cvarg
{
cols
}{
Column count.
}
\cvarg
{
type
}{
Type of the matrix.
}
\cvarg
{
type
}{
Type of the matrix.
}
\cvarg
{
m
}{
Destination matrix. Will be
reshaped only if it has proper type and area (
$
rows
\times
cols
$
).
}
\cvarg
{
m
}{
Destination matrix. Will be
only reshaped if it has proper type and area (
\texttt
{
rows
}
$
\times
$
\texttt
{
cols
}
).
}
\end{description}
\end{description}
\ No newline at end of file
doc/gpu_matrix_operations.tex
View file @
1697a899
...
@@ -6,7 +6,7 @@ Transposes the matrix.
...
@@ -6,7 +6,7 @@ Transposes the matrix.
\cvdefCpp
{
void transpose(const GpuMat
\&
src, GpuMat
\&
dst);
}
\cvdefCpp
{
void transpose(const GpuMat
\&
src, GpuMat
\&
dst);
}
\begin{description}
\begin{description}
\cvarg
{
src
}{
Source matrix.
Elements sizes 1, 4, 8 byt
es are supported for now.
}
\cvarg
{
src
}{
Source matrix.
1, 4, 8 bytes element siz
es are supported for now.
}
\cvarg
{
dst
}{
Destination matrix.
}
\cvarg
{
dst
}{
Destination matrix.
}
\end{description}
\end{description}
...
@@ -30,20 +30,40 @@ Flips a 2D matrix around vertical, horizontal or both axes.
...
@@ -30,20 +30,40 @@ Flips a 2D matrix around vertical, horizontal or both axes.
See also:
\cvCppCross
{
flip
}
.
See also:
\cvCppCross
{
flip
}
.
\cvCppFunc
{
gpu::LUT
}
Transforms source matrix into destination matrix using given look-up table:
\texttt
{
dst(I) = lut(src(I))
}
.
\cvdefCpp
{
void LUT(const GpuMat
\&
src, const Mat
\&
lut, GpuMat
\&
dst);
}
\begin{description}
\cvarg
{
src
}{
Source matrix. 8UC1 and 8UC3 matrixes are supported for now.
}
\cvarg
{
lut
}{
Look-up table. Must be continuous, 8U depth matrix. Its area must satisfy to
\texttt
{
lut.rows
}
$
\times
$
\texttt
{
lut.cols
}
= 256.
}
\cvarg
{
dst
}{
Destination matrix. Will have the same depth as
\texttt
{
lut
}
and the same number of channels as
\texttt
{
src
}
.
}
\end{description}
See also:
\cvCppCross
{
LUT
}
.
\cvCppFunc
{
gpu::merge
}
\cvCppFunc
{
gpu::merge
}
Makes multi-channel matrix out of several single-channel matrices.
Makes multi-channel matrix out of several single-channel matrices.
\cvdefCpp
{
void merge(const GpuMat* src, size
\_
t n, GpuMat
\&
dst);
\newline
\cvdefCpp
{
void merge(const GpuMat* src, size
\_
t n, GpuMat
\&
dst);
\newline
void merge(const GpuMat* src, size
\_
t n, GpuMat
\&
dst,
\par
void merge(const GpuMat* src, size
\_
t n, GpuMat
\&
dst,
\par
const Stream
\&
stream);
\newline\newline
const Stream
\&
stream);
\newline
}
void merge(const vector
$
<
$
GpuMat
$
>
$
\&
src, GpuMat
\&
dst);
\newline
\begin{description}
\cvarg
{
src
}{
Pointer to array of the source matrices.
}
\cvarg
{
n
}{
Number of source matrices.
}
\cvarg
{
dst
}{
Destination matrix.
}
\cvarg
{
stream
}{
Stream for the asynchronous version.
}
\end{description}
\cvdefCpp
{
void merge(const vector
$
<
$
GpuMat
$
>
$
\&
src, GpuMat
\&
dst);
\newline
void merge(const vector
$
<
$
GpuMat
$
>
$
\&
src, GpuMat
\&
dst,
\par
void merge(const vector
$
<
$
GpuMat
$
>
$
\&
src, GpuMat
\&
dst,
\par
const Stream
\&
stream);
}
const Stream
\&
stream);
}
\begin{description}
\begin{description}
\cvarg
{
src
}{
Vector or pointer to array of the source matrices.
}
\cvarg
{
src
}{
Vector of the source matrices.
}
\cvarg
{
n
}{
Number of source matrices.
}
\cvarg
{
dst
}{
Destination matrix.
}
\cvarg
{
dst
}{
Destination matrix.
}
\cvarg
{
stream
}{
Stream for the asynchronous version
s
.
}
\cvarg
{
stream
}{
Stream for the asynchronous version.
}
\end{description}
\end{description}
See also:
\cvCppCross
{
merge
}
.
See also:
\cvCppCross
{
merge
}
.
...
@@ -53,14 +73,20 @@ See also: \cvCppCross{merge}.
...
@@ -53,14 +73,20 @@ See also: \cvCppCross{merge}.
Copies each plane of a multi-channel matrix into an array.
Copies each plane of a multi-channel matrix into an array.
\cvdefCpp
{
void split(const GpuMat
\&
src, GpuMat* dst);
\newline
\cvdefCpp
{
void split(const GpuMat
\&
src, GpuMat* dst);
\newline
void split(const GpuMat
\&
src, GpuMat* dst, const Stream
\&
stream);
\newline\newline
void split(const GpuMat
\&
src, GpuMat* dst, const Stream
\&
stream);
}
void split(const GpuMat
\&
src, vector
$
<
$
GpuMat
$
>
$
\&
dst);
\newline
\begin{description}
\cvarg
{
src
}{
Source matrix.
}
\cvarg
{
dst
}{
Pointer to array of single-channel matrices.
}
\cvarg
{
stream
}{
Stream for the asynchronous version.
}
\end{description}
\cvdefCpp
{
void split(const GpuMat
\&
src, vector
$
<
$
GpuMat
$
>
$
\&
dst);
\newline
void split(const GpuMat
\&
src, vector
$
<
$
GpuMat
$
>
$
\&
dst,
\par
void split(const GpuMat
\&
src, vector
$
<
$
GpuMat
$
>
$
\&
dst,
\par
const Stream
\&
stream);
}
const Stream
\&
stream);
}
\begin{description}
\begin{description}
\cvarg
{
src
}{
Source matrix.
}
\cvarg
{
src
}{
Source matrix.
}
\cvarg
{
dst
}{
Destination vector o
r pointer to array o
f single-channel matrices.
}
\cvarg
{
dst
}{
Destination vector of single-channel matrices.
}
\cvarg
{
stream
}{
Stream for the asynchronous version
s
.
}
\cvarg
{
stream
}{
Stream for the asynchronous version.
}
\end{description}
\end{description}
See also:
\cvCppCross
{
split
}
.
See also:
\cvCppCross
{
split
}
.
...
...
doc/gpu_object_detection.tex
View file @
1697a899
...
@@ -132,7 +132,7 @@ Perfroms object detection without increasing detection window.
...
@@ -132,7 +132,7 @@ Perfroms object detection without increasing detection window.
\cvCppFunc
{
gpu::HOGDescriptor::detectMultiScale
}
\cvCppFunc
{
gpu::HOGDescriptor::detectMultiScale
}
Perfroms object detection
with increasing
detection window.
Perfroms object detection
several times with preliminary increase of
detection window.
\cvdefCpp
{
void detectMultiScale(const GpuMat
\&
img, vector<Rect>
\&
found
\_
locations,
\par
\cvdefCpp
{
void detectMultiScale(const GpuMat
\&
img, vector<Rect>
\&
found
\_
locations,
\par
double hit
\_
threshold=0, Size win
\_
stride=Size(),
\par
double hit
\_
threshold=0, Size win
\_
stride=Size(),
\par
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment