projects
/
opencv
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to 2.0.0 tree from current Fremantle build
[opencv]
/
samples
/
c
/
contours.c
diff --git
a/samples/c/contours.c
b/samples/c/contours.c
index
df3cfcd
..
7c9fdb4
100644
(file)
--- a/
samples/c/contours.c
+++ b/
samples/c/contours.c
@@
-2,6
+2,8
@@
#pragma package <opencv>
#endif
#pragma package <opencv>
#endif
+#define CV_NO_BACKWARD_COMPATIBILITY
+
#ifndef _EiC
#include "cv.h"
#include "highgui.h"
#ifndef _EiC
#include "cv.h"
#include "highgui.h"
@@
-76,7
+78,7
@@
int main( int argc, char** argv )
cvNamedWindow( "contours", 1 );
cvCreateTrackbar( "levels+3", "contours", &levels, 7, on_trackbar );
cvNamedWindow( "contours", 1 );
cvCreateTrackbar( "levels+3", "contours", &levels, 7, on_trackbar );
-
+
on_trackbar(0);
cvWaitKey(0);
cvReleaseMemStorage( &storage );
on_trackbar(0);
cvWaitKey(0);
cvReleaseMemStorage( &storage );