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
809ebdde
Commit
809ebdde
authored
Jun 09, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
couple more fixes
parent
55eb2f9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
opencv_cheatsheet.pdf
doc/opencv_cheatsheet.pdf
+0
-0
opencv_cheatsheet.tex
doc/opencv_cheatsheet.tex
+3
-4
No files found.
doc/opencv_cheatsheet.pdf
View file @
809ebdde
No preview for this file type
doc/opencv_cheatsheet.tex
View file @
809ebdde
...
...
@@ -204,9 +204,8 @@
\>
\texttt
{
IplImage oldC1 = newC; CvMat oldC2 = newC;
}
\\
\textbf
{
... (with copying the data)
}
\\
\>
\texttt
{
Mat image
\_
copy = image.clone();
}
\\
\>
\texttt
{
Mat P(10, 1, CV
\_
32FC2, Scalar(1, 1));
}
\\
\>
\texttt
{
vector<Point2f> ptvec = Mat
\_
<Point2f>(P);
}
\\
\>
\texttt
{
Mat newC2 = cvarrToMat(oldC0).clone();
}
\\
\>
\texttt
{
vector<Point2f> ptvec = Mat
\_
<Point2f>(iP);
}
\\
\>\\
\textbf
{
Access matrix elements
}
\\
...
...
@@ -387,7 +386,7 @@ implements the core of Levenberg-Marquardt optimization algorithm.
\end{tabular}
\begin{tabbing}
Exa
\=
mple. Filter image in-place with a 3x3 high-pass
filter
\\
Exa
\=
mple. Filter image in-place with a 3x3 high-pass
kernel
\\
\>
(preserve negative responses by shifting the result by 128):
\\
\texttt
{
filter2D(image, image, image.depth(), (Mat
\_
<float>(3,3)<<
}
\\
\>
\texttt
{
-1, -1, -1, -1, 9, -1, -1, -1, -1), Point(1,1), 128);
}
\\
...
...
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