From: Gary Bradski Date: Fri, 3 Dec 2010 02:31:20 +0000 (+0000) Subject: docs X-Git-Tag: accepted/2.0/20130307.220821~3964 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72697de861bc7e60c6fda6e368248c8decfb5b00;p=profile%2Fivi%2Fopencv.git docs --- diff --git a/samples/c/polar_transforms.c b/samples/c/polar_transforms.c index 85d7ce8..2dfab7a 100644 --- a/samples/c/polar_transforms.c +++ b/samples/c/polar_transforms.c @@ -4,6 +4,13 @@ #include #include +void help() +{ + printf("\nThis program illustrates Linear-Polar and Log-Polar image transforms\n" + "Call:\n" + "./polar_transforms [[camera number -- Default 0],[AVI path_filename]]\n\n" + ); +} int main( int argc, char** argv ) { CvCapture* capture = 0; @@ -15,7 +22,7 @@ int main( int argc, char** argv ) capture = cvCaptureFromCAM( argc == 2 ? argv[1][0] - '0' : 0 ); else if( argc == 2 ) capture = cvCaptureFromAVI( argv[1] ); - + help(); if( !capture ) { fprintf(stderr,"Could not initialize capturing...\n");