November 2025
Intermediate to advanced
432 pages
9h 37m
English
Starting in Chapter 3, Processing Images with OpenCV, our Cameo demo application incorporates an image processing effect called curves, which it uses to emulate the color bias of certain photo films. This appendix describes the concept of curves and their implementation using SciPy.
Curves are a technique for remapping colors. With curves, a channel’s value at a destination pixel is a function of (only) the same channel’s value at the source pixel. Moreover, we do not define the functions directly; instead, for each function, ...