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
7c83be16
Commit
7c83be16
authored
Dec 01, 2010
by
Gary Bradski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added help function
parent
e4e6da3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
delaunay.c
samples/c/delaunay.c
+11
-3
No files found.
samples/c/delaunay.c
View file @
7c83be16
...
...
@@ -2,9 +2,16 @@
#include <opencv2/highgui/highgui.hpp>
#include <stdio.h>
/* the script demostrates iterative construction of
delaunay triangulation and voronoi tesselation */
void
help
()
{
printf
(
"
\n
This program demostrates iterative construction of
\n
"
"delaunay triangulation and voronoi tesselation.
\n
"
"It draws a random set of points in an image and then delaunay triangulates them.
\n
"
"Call:
\n
"
"./delaunay
\n
"
"
\n
This program builds the traingulation interactively, you may stop this process by
\n
"
"hitting any key.
\n
"
);
}
CvSubdiv2D
*
init_delaunay
(
CvMemStorage
*
storage
,
CvRect
rect
)
...
...
@@ -226,6 +233,7 @@ int main( int argc, char** argv )
#ifdef _MSC_VER
argc
,
argv
;
#endif
help
();
run
();
return
0
;
}
...
...
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