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
e4115fa5
Commit
e4115fa5
authored
Jun 09, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some more samples
parent
41eae27b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
opencv_cheatsheet.pdf
doc/opencv_cheatsheet.pdf
+0
-0
opencv_cheatsheet.tex
doc/opencv_cheatsheet.tex
+11
-0
No files found.
doc/opencv_cheatsheet.pdf
View file @
e4115fa5
No preview for this file type
doc/opencv_cheatsheet.tex
View file @
e4115fa5
...
@@ -260,6 +260,17 @@
...
@@ -260,6 +260,17 @@
\end{tabular}
\end{tabular}
\begin{tabbing}
Exa
\=
mple 1. Smooth image ROI in-place
\\
\>\texttt
{
Mat imgroi = image(Rect(10, 20, 100, 100));
}
\\
\>\texttt
{
GaussianBlur(imgroi, imgroi, 5, 5, 1.2, 1.2);
}
\\
Example 2. Somewhere in a linear algebra algorithm
\\
\>\texttt
{
m.row(i) += m.row(j)*alpha;
}
\\
Example 3. Copy image ROI to another image with conversion
\\
\>\texttt
{
Rect r(1, 1, 10, 20);
}
\\
\>\texttt
{
Mat dstroi = dst(Rect(0,10,r.width,r.height));
}
\\
\>\texttt
{
src(r).convertTo(dstroi, dstroi.type(), 1, 0);
}
\\
\end{tabbing}
\section
{
Simple Matrix Operations
}
\section
{
Simple Matrix Operations
}
...
...
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