Chapter 2. Manipulating Pixels

In this chapter, we will cover the following recipes:

  • Accessing pixel values
  • Scanning an image with pointers
  • Scanning an image with iterators
  • Writing efficient image-scanning loops
  • Scanning an image with neighbor access
  • Performing simple image arithmetic
  • Remapping an image