Page 44 -
P. 44

18    Chapter 1 ■ Practical Aspects of a Vision System




                             display_image (IMAGE x)             Displays the specified image on the
                                                                 screen

                             save_image (IMAGE x, char *name)    Saves the image in a file with the given
                                                                 name
                             IMAGE get_image (char *name)        Reads the image in the named file and
                                                                 return a pointer to it

                             IMAGE grab_image ()                 Captures an image from an attached
                                                                 webcam and return a pointer to it



                           1.5    Website Files


                           The website associated with this book contains code and data associated with
                           each chapter, in addition to new information, errata, and other comments.
                           Readers should create a directory for this information on their PC called
                           C:\AIPCV. Within that, directories for each chapter can be named CH1, CH2,and
                           so on.
                             The following material created for this chapter will appear in C:\AIPCV\CH1:


                             capture.c      Gets an image from a webcam
                             lib0.c         A collection of OpenCV input/output/display functions
                             thr_glh.c      Thresholds an image



                           1.6    References


                           Agam, Gady. ‘‘Introduction to Programming With OpenCV,’’ www.edu/~agam/
                             cs512/lect-notes/opencv-intro/opencv-intro.html (accessed January
                             27, 2006).
                           Bradsky, Gary and Kaehler, Adrian. Learning OpenCV: Computer Vision with
                             the OpenCV Library. Sebastopol: O’Reilly Media Inc, 2008.
                           ‘‘CV Reference Manual,’’ http://cognotics.com/opencv/docs/1.0/ref/
                             opencvref_cv.htm (accessed March 16, 2010).
                           ‘‘cvCamReference Manual,’’ www.cognotics.com/opencv/docs/1.0/cvcam.pdf
                             (accessed March 16, 2010).
                           ‘‘CXCORE Reference Manual,’’ http://cognotics.com/opencv/docs/1.0/ref/
                             opencvref_cxcore.htm (accessed March 16, 2010).
                           ‘‘Experimental and Obsolete FunctionalityReference,’’ http://cognotics.com/
                             opencv/docs/1.0/ref/opencvref_cvaux.htm (accessed March 16, 2010).
   39   40   41   42   43   44   45   46   47   48   49