Summary
In this chapter, we have started with the introduction of computer vision and image processing. We have described OpenCV library which is specifically made for computer vision applications and how it is different than other computer vision software. OpenCV can leverage the parallel processing capability of GPU by using CUDA. We have seen the installation procedure for OpenCV with CUDA in all operating systems. We have described the process to read an image from disk, display it on screen and save it back to disk. The videos are nothing but a sequence of images. We have learned to work with videos from disk as well as videos captured from the camera. We have developed several image processing applications which do different operations on images like Arithmetic operations, Logical Operations, Color Space conversions and Thresholding. In the last section, we have compared the performance of the same algorithm on CPU and GPU in terms of time taken to process an image and FPS. So at...