Copy the pixel colors
Then Listing 4 uses a nested for
loop
- to copy the colors from the pixels in the upper-left quadrant
- into the pixels in the upper-right quadrant.
This is done in such a way as to
- form a mirror image about the center point as shown in Figure 6.