Chapter 1. Fun with Filters
The goal of this chapter is to develop a number of image processing filters and apply them to the video stream of a webcam in real time. These filters will rely on various OpenCV functions to manipulate matrices through splitting, merging, arithmetic operations, and applying lookup tables for complex functions.
The three effects are as follows:
- Black-and-white pencil sketch: To create this effect, we will make use of two image blending techniques, known as dodging and burning
- Warming/cooling filters: To create these effects, we will implement our own curve filters using a lookup table
- Cartoonizer: To create this effect, we will combine a bilateral filter, a median filter, and adaptive thresholding
OpenCV is such an advanced ...