ImageUtils.cpp
void showIntGraph(const char *name, const int *arraySrc, int nArrayLength, int delay_ms, IplImage *background)
{
	// Draw the graph
	IplImage *imageGraph = drawIntGraph(arraySrc, nArrayLength, background);

	// Display the graph into a window
    cvNamedWindow( name );
    cvShowImage( name, imageGraph );

	cvWaitKey( 10 );		// Note that cvWaitKey() is required for the OpenCV window to show!
	cvWaitKey( delay_ms );	// Wait longer to make sure the user has seen the graph

	cvReleaseImage(&imageGraph);
}
// Display a graph of the given int array.
// If background is provided, it will be drawn into, for combining multiple graphs using drawIntGraph().
// Set delay_ms to 0 if you want to wait forever until a keypress, or set it to 1 if you want it to delay just 1 millisecond.

Display a graph of the given int array.
If background is provided, it will be drawn into, for combining multiple graphs using drawIntGraph().
Set delay_ms to 0 if you want to wait forever until a keypress, or set it to 1 if you want it to delay just 1 millisecond.
Display a graph of the given int array . If background is provided it will be drawn into for combining multiple graphs using drawIntGraph () . Set delay_ms to 0 if you want to wait forever until a keypress or set it to 1 if you want it to delay just 1 millisecond .
void showIntGraph(const char *name, const int *arraySrc, int nArrayLength, int delay_ms, IplImage *background)
{
	IplImage *imageGraph = drawIntGraph(arraySrc, nArrayLength, background);
    cvNamedWindow( name );
    cvShowImage( name, imageGraph );
	cvWaitKey( 10 );		
	cvWaitKey( delay_ms );	
	cvReleaseImage(&imageGraph);
}
void showIntGraph ( const char * name , const int * arraySrc , int nArrayLength , int delay_ms , IplImage * background ) { IplImage * imageGraph = drawIntGraph ( arraySrc , nArrayLength , background ) ; cvNamedWindow ( name ) ; cvShowImage ( name , imageGraph ) ; cvWaitKey ( 10 ) ; cvWaitKey ( delay_ms ) ; cvReleaseImage ( & imageGraph ) ; }
Display a graph of the given int array.
Display a graph of the given int array .
// Draw the graph
 // Display the graph into a window
 // Note that cvWaitKey() is required for the OpenCV window to show!
 // Wait longer to make sure the user has seen the graph
