added help function
This commit is contained in:
parent
e4e6da3e38
commit
7c83be161f
@ -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("\nThis 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"
|
||||
"\nThis 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user